From 2ad40f2e15a4d6927833231b8dc6874b747fed2e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 8 Oct 2002 11:55:57 +0000 Subject: [PATCH] Docbook added. No content yet. --- configure.in | 3 + doc/Makefile.am | 40 +++++++++++ doc/installation.xml | 21 ++++++ doc/proxy.xml | 21 ++++++ doc/xml.dcl | 179 ++++++++++++++++++++++++++++++++++++++++++++++++++ doc/yaz++.xml.in | 44 +++++++++++++ doc/yazhtml.dsl.in | 26 ++++++++ doc/yazphp.dsl.in | 98 +++++++++++++++++++++++++++ doc/yazprint.dsl.in | 21 ++++++ doc/zoom.xml | 21 ++++++ 10 files changed, 474 insertions(+) create mode 100644 doc/Makefile.am create mode 100644 doc/installation.xml create mode 100644 doc/proxy.xml create mode 100644 doc/xml.dcl create mode 100644 doc/yaz++.xml.in create mode 100644 doc/yazhtml.dsl.in create mode 100644 doc/yazphp.dsl.in create mode 100644 doc/yazprint.dsl.in create mode 100644 doc/zoom.xml diff --git a/configure.in b/configure.in index 6a782d7..42a6ad4 100644 --- a/configure.in +++ b/configure.in @@ -78,4 +78,7 @@ AC_OUTPUT([ yaz++-config src/yaz++-config zoom/Makefile + doc/Makefile + doc/yaz++.xml + doc/yazprint.dsl doc/yazphp.dsl doc/yazhtml.dsl ],[chmod +x yaz++-config src/yaz++-config]) diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 0000000..83276c0 --- /dev/null +++ b/doc/Makefile.am @@ -0,0 +1,40 @@ +## $Id: Makefile.am,v 1.1 2002-10-08 11:55:57 adam Exp $ +docdir=$(datadir)/doc/@PACKAGE@ + +SUPPORTFILES = \ + yazhtml.dsl.in \ + yazphp.dsl.in \ + yazprint.dsl.in \ + xml.dcl +XMLFILES = \ + installation.xml \ + zoom.xml \ + proxy.xml \ + yaz++.xml.in + +TOP=yaz++.xml + +HTMLFILES = yazpp.html installation.html zoom.html proxy.html + +doc_DATA = $(HTMLFILES) yaz++.pdf + +EXTRA_DIST = $(SUPPORTFILES) $(XMLFILES) yaz++.pdf + +$(HTMLFILES): $(XMLFILES) + jade -E14 -D $(srcdir) -d yazhtml.dsl -t sgml $(srcdir)/xml.dcl $(TOP) + +yaz++.php: $(XMLFILES) + jade -E14 -D $(srcdir) -d yazphp.dsl -t sgml $(srcdir)/xml.dcl $(TOP) + +yaz++.pdf: $(XMLFILES) + jade -E14 -D $(srcdir) -d yazprint.dsl -t tex $(srcdir)/xml.dcl $(TOP) + pdfjadetex yaz++.tex + pdfjadetex yaz++.tex + pdfjadetex yaz++.tex + +dist-hook: yaz++.html + cp *.html $(distdir) + +clean-data-hook: + rm -f [0-9]* *.bak + diff --git a/doc/installation.xml b/doc/installation.xml new file mode 100644 index 0000000..b6a9aab --- /dev/null +++ b/doc/installation.xml @@ -0,0 +1,21 @@ + + + Installation + + How to compile this software. + + + diff --git a/doc/proxy.xml b/doc/proxy.xml new file mode 100644 index 0000000..d0250cd --- /dev/null +++ b/doc/proxy.xml @@ -0,0 +1,21 @@ + + + YAZ Proxy + + About YAZ Proxy. + + + diff --git a/doc/xml.dcl b/doc/xml.dcl new file mode 100644 index 0000000..fed2103 --- /dev/null +++ b/doc/xml.dcl @@ -0,0 +1,179 @@ +" + PIC "?>" + SHORTREF NONE + + NAMES + SGMLREF + + QUANTITY NONE + + ENTITIES + "amp" 38 + "lt" 60 + "gt" 62 + "quot" 34 + "apos" 39 + + FEATURES + MINIMIZE + DATATAG NO + OMITTAG NO + RANK NO + SHORTTAG + STARTTAG + EMPTY NO + UNCLOSED NO + NETENABL IMMEDNET + ENDTAG + EMPTY NO + UNCLOSED NO + ATTRIB + DEFAULT YES + OMITNAME NO + VALUE NO + EMPTYNRM YES + IMPLYDEF + ATTLIST NO + DOCTYPE NO + ELEMENT NO + ENTITY NO + NOTATION NO + LINK + SIMPLE NO + IMPLICIT NO + EXPLICIT NO + OTHER + CONCUR NO + SUBDOC NO + FORMAL NO + URN NO + KEEPRSRE YES + VALIDITY TYPE + ENTITIES + REF ANY + INTEGRAL YES + APPINFO NONE + SEEALSO "ISO 8879:1986//NOTATION + Extensible Markup Language (XML) 1.0//EN" +> diff --git a/doc/yaz++.xml.in b/doc/yaz++.xml.in new file mode 100644 index 0000000..f135386 --- /dev/null +++ b/doc/yaz++.xml.in @@ -0,0 +1,44 @@ + + + + +]> + + + + YAZ++ + MikeTaylor + AdamDickmeiss + + 2002 + Index Data + Mike Taylor + + + Short introduction. + + + + + &chap-installation; + &chap-zoom; + &chap-proxy; + + + diff --git a/doc/yazhtml.dsl.in b/doc/yazhtml.dsl.in new file mode 100644 index 0000000..1550855 --- /dev/null +++ b/doc/yazhtml.dsl.in @@ -0,0 +1,26 @@ + +]> + + + + + +(define %use-id-as-filename% #t) +(define %output-dir% "html") +(define %html-ext% ".html") +(define %shade-verbatim% #t) + + + + + + + diff --git a/doc/yazphp.dsl.in b/doc/yazphp.dsl.in new file mode 100644 index 0000000..d1939a3 --- /dev/null +++ b/doc/yazphp.dsl.in @@ -0,0 +1,98 @@ + +]> + + + + + +(define %use-id-as-filename% #t) +(define %output-dir% "php") +(define %html-ext% ".php") +(define %shade-verbatim% #t) + +(define newline "\U-000D") + +(define (html-document title-sosofo body-sosofo) + (let* (;; Let's look these up once, so that we can avoid calculating + ;; them over and over again. + (prev (prev-chunk-element)) + (next (next-chunk-element)) + (prevm (prev-major-component-chunk-element)) + (nextm (next-major-component-chunk-element)) + (navlist (list prev next prevm nextm)) + + ;; Let's make it possible to control the output even in the + ;; nochunks case. Note: in the nochunks case, (chunk?) will + ;; return #t for only the root element. + (make-entity? (and (or (not nochunks) rootchunk) + (chunk?))) + + (make-head? (or make-entity? + (and nochunks + (node-list=? (current-node) + (sgml-root-element))))) + (doc-sosofo + (if make-head? + (make sequence + (make formatting-instruction data: + (string-append "<" "?php " + newline + "require \"../../id_common.inc\";" + newline + "id_header(\"" + ) + ) + title-sosofo + (make formatting-instruction data: + (string-append "\");" + newline + "?" ">" + ) + ) + (header-navigation (current-node) navlist) + body-sosofo + (footer-navigation (current-node) navlist) + (make formatting-instruction data: + (string-append "<" "?php id_footer() ?>") + ) + ) + body-sosofo + ) + ) + ) + (if make-entity? + (make entity + system-id: (html-entity-file (html-file)) + (if %html-pubid% + (make document-type + name: "HTML" + public-id: %html-pubid%) + (empty-sosofo)) + doc-sosofo) + (if (node-list=? (current-node) (sgml-root-element)) + (make sequence + (if %html-pubid% + (make document-type + name: "HTML" + public-id: %html-pubid%) + (empty-sosofo)) + doc-sosofo) + doc-sosofo) + ) + ) + ) + + + + + + + diff --git a/doc/yazprint.dsl.in b/doc/yazprint.dsl.in new file mode 100644 index 0000000..02157b2 --- /dev/null +++ b/doc/yazprint.dsl.in @@ -0,0 +1,21 @@ + +]> + + + + + + + + + + + diff --git a/doc/zoom.xml b/doc/zoom.xml new file mode 100644 index 0000000..29f248f --- /dev/null +++ b/doc/zoom.xml @@ -0,0 +1,21 @@ + + + ZOOM + + About ZOOM (++). + + + -- 1.7.10.4