From: Adam Dickmeiss Date: Thu, 20 Apr 2006 11:18:29 +0000 (+0000) Subject: Updated to use doc/common (id-docbook-common) X-Git-Tag: YAZPP.1.0.0~27 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=711cb523bba53b58a859b3f9d9d34ee7fcc5c52e;p=yazpp-moved-to-github.git Updated to use doc/common (id-docbook-common) --- diff --git a/configure.ac b/configure.ac index 6bd70ff..c9c96bf 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl YAZ++ Toolkit, Index Data 1994-2006 dnl See the file LICENSE for details. -dnl $Id: configure.ac,v 1.2 2006-03-29 13:14:13 adam Exp $ +dnl $Id: configure.ac,v 1.3 2006-04-20 11:18:29 adam Exp $ AC_PREREQ(2.59) AC_INIT([yazpp],[1.0.0],[adam@indexdata.dk]) AC_CONFIG_SRCDIR(configure.ac) @@ -39,6 +39,6 @@ AC_OUTPUT([ zoom/Makefile doc/Makefile doc/yazpp.xml - doc/yazprint.dsl doc/yazphp.dsl doc/yazhtml.dsl - doc/tkl.xsl + doc/common/Makefile + doc/common/html.dsl doc/common/html.xsl doc/common/print.dsl doc/common/tkl.xsl ],[sed s%yaz_echo_source=yes%yaz_echo_source=no%g < yazpp-config >src/yazpp-config && chmod +x yazpp-config src/yazpp-config]) diff --git a/doc/Makefile.am b/doc/Makefile.am index 76a1be1..567b044 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,12 +1,8 @@ -## $Id: Makefile.am,v 1.16 2006-03-29 13:14:14 adam Exp $ +## $Id: Makefile.am,v 1.17 2006-04-20 11:18:29 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ -SUPPORTFILES = \ - yazhtml.dsl.in \ - yazphp.dsl.in \ - yazprint.dsl.in \ - tkl.xsl.in \ - xml.dcl +SUBDIRS = common + XMLFILES = \ introduction.xml \ installation.xml \ @@ -32,27 +28,24 @@ HTMLFILES = \ zoom-resultset.html \ zoom.html -doc_DATA = $(HTMLFILES) yazpp.pdf id.png yaz.css +doc_DATA = $(HTMLFILES) yazpp.pdf man_MANS = $(MANFILES) -EXTRA_DIST = $(SUPPORTFILES) $(XMLFILES) $(doc_DATA) $(man_MANS) +EXTRA_DIST = $(XMLFILES) $(doc_DATA) $(man_MANS) $(HTMLFILES): $(XMLFILES) - jade -E14 -D $(srcdir) -d yazhtml.dsl -t sgml $(srcdir)/xml.dcl $(TOP) - -yazpp.php: $(XMLFILES) - jade -E14 -D $(srcdir) -d yazphp.dsl -t sgml $(srcdir)/xml.dcl $(TOP) + jade -E14 -D $(srcdir) -d common/html.dsl -t sgml $(srcdir)/common/xml.dcl $(TOP) yazpp.pdf: $(XMLFILES) - if test ! -f id.png ; then ln -s $(srcdir)/id.png .; fi - jade -E14 -D $(srcdir) -d yazprint.dsl -t tex $(srcdir)/xml.dcl $(TOP) + if test ! -f common/id.png ; then ln -s $(srcdir)/common/id.png common; fi + jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(TOP) pdfjadetex yazpp.tex >pdfjadetex.log 2>&1 pdfjadetex yazpp.tex >pdfjadetex.log 2>&1 pdfjadetex yazpp.tex >pdfjadetex.log 2>&1 -index.tkl: $(XMLFILES) tkl.xsl - xsltproc tkl.xsl $(TOP) +index.tkl: $(XMLFILES) common/tkl.xsl + xsltproc common/tkl.xsl $(TOP) clean-data-hook: rm -f [0-9]* *.bak diff --git a/doc/id.png b/doc/id.png deleted file mode 100644 index 454a746..0000000 Binary files a/doc/id.png and /dev/null differ diff --git a/doc/tkl.xsl.in b/doc/tkl.xsl.in deleted file mode 100644 index 9265a0f..0000000 --- a/doc/tkl.xsl.in +++ /dev/null @@ -1,47 +0,0 @@ - - - - - 1 - .tkl - 0 - - - - - - - - - <xsl:apply-templates select="." mode="object.title.markup"/> - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/xml.dcl b/doc/xml.dcl deleted file mode 100644 index fed2103..0000000 --- a/doc/xml.dcl +++ /dev/null @@ -1,179 +0,0 @@ -" - 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.css b/doc/yaz.css deleted file mode 100644 index a343107..0000000 --- a/doc/yaz.css +++ /dev/null @@ -1,63 +0,0 @@ - -.table table { - border-collapse; - border: 1px solid black; - border-spacing: 0; - width: 94%; - margin-left: auto; - margin-right: 0; -} - -.author { - font-style: italic; -} - -.TITLEPAGE, .LOT, .TOC { - font-family: sans-serif; -} - -.TITLEPAGE .abstract { - margin: 0 150px 1em 0; - font-style: oblique; -} - -.TITLEPAGE .inlinemediaobject { - position: absolute; - top: 60px; - right: 0; - width: 140px; -} - -.table th { - padding: 3px 6px; - border: 1px solid black; -} -.table td { - text-align: left; - padding: 3px 6px; -} - -h1, h3, h4 { - font-family: sans-serif; -} - -h2 { - font-style: italic; - font-family: sans-serif; -} - -.figure b, .table b, .example b { - font-style: italic; -} - -.example , .figure { - margin-left: 3%; -} - -.screen, .synopsis, .programlisting { - margin-left: 6%; - padding: 4px; - border-style: solid; - border-width: 1px; - border-color: #bbbbbb; -} diff --git a/doc/yazhtml.dsl.in b/doc/yazhtml.dsl.in deleted file mode 100644 index 0ca8601..0000000 --- a/doc/yazhtml.dsl.in +++ /dev/null @@ -1,26 +0,0 @@ - -]> - - - - - -(define %use-id-as-filename% #t) -(define %output-dir% "html") -(define %html-ext% ".html") -(define %stylesheet% "yaz.css") - - - - - - - diff --git a/doc/yazphp.dsl.in b/doc/yazphp.dsl.in deleted file mode 100644 index d1939a3..0000000 --- a/doc/yazphp.dsl.in +++ /dev/null @@ -1,98 +0,0 @@ - -]> - - - - - -(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/yazpp.xml.in b/doc/yazpp.xml.in index 901da07..90d5e98 100644 --- a/doc/yazpp.xml.in +++ b/doc/yazpp.xml.in @@ -7,7 +7,7 @@ ]> - + YAZ++ User's Guide and Reference @@ -38,12 +38,12 @@ This manual covers version @VERSION@. - CVS ID: $Id: yazpp.xml.in,v 1.1 2006-03-29 13:14:14 adam Exp $ + CVS ID: $Id: yazpp.xml.in,v 1.2 2006-04-20 11:18:29 adam Exp $ - + diff --git a/doc/yazprint.dsl.in b/doc/yazprint.dsl.in deleted file mode 100644 index 02157b2..0000000 --- a/doc/yazprint.dsl.in +++ /dev/null @@ -1,21 +0,0 @@ - -]> - - - - - - - - - - -