From 711cb523bba53b58a859b3f9d9d34ee7fcc5c52e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 20 Apr 2006 11:18:29 +0000 Subject: [PATCH] Updated to use doc/common (id-docbook-common) --- configure.ac | 6 +- doc/Makefile.am | 27 +++----- doc/id.png | Bin 1638 -> 0 bytes doc/tkl.xsl.in | 47 -------------- doc/xml.dcl | 179 --------------------------------------------------- doc/yaz.css | 63 ------------------ doc/yazhtml.dsl.in | 26 -------- doc/yazphp.dsl.in | 98 ---------------------------- doc/yazpp.xml.in | 6 +- doc/yazprint.dsl.in | 21 ------ 10 files changed, 16 insertions(+), 457 deletions(-) delete mode 100644 doc/id.png delete mode 100644 doc/tkl.xsl.in delete mode 100644 doc/xml.dcl delete mode 100644 doc/yaz.css delete mode 100644 doc/yazhtml.dsl.in delete mode 100644 doc/yazphp.dsl.in delete mode 100644 doc/yazprint.dsl.in 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 454a74679a129560fbc3bc4810dd3168b52a8a03..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1638 zcmV-s2ATPZP)HP_Nc400001VoOIv z0Eh)0NB{r;32;bRa{vGf5&!@T5&_cPe*6Fc00(qQO+^RN1px~v3R0t2!~g&Vj7da6 zRCt{2+Y5KwDhvSN)Fn=92MjiD9!>E7|CbXuj**a)rfau*S2$eyV0LSUGo0ZJXZQvzoY8YK6{L`5zOPFJ zkJZ#Tf82-9w9ev=6)8W9@Qjw%kIu0Fdque9#&#Gki=sH8W2~ZtZ5dV- z2q_FZYZ@|!hs%rr?dk%-oufrr7VeDVV11o(+=1Vlrr97E&cbBcz`(x42jKQ{b}b*{ z)~RihLvye;mVx_gBt5w#hRbW!c!YiF9r_?sLkzCf^upR(fzy^J2o zp|4ufI2SFIh~SEh*qdcJ)lhH2Hi4lpVeouIy6wVj0=qcx{E`t5%IFWk zOCx5FG01n1v4lT+2DVOSol57Df-E`)id7u4BMWWxTn>Pu<8HC(%Ek57ep`ZX}p)5o|3Ic zwB#!U)&z))~lhQi_1NjPLjyA5& z=U4JorpRGAY(5OqE&d8H?e2sI2;Duy`0l|ZEIR&{{4&5Y42N+39Q5|;hqK}$hsCft zT)3JRVVB^Sc*M}z@p$yz-h^q`oMk$z)7Km<{DgMw%jL0odQKyU<**6XwP}ZR*?S7p zv)UgwxIm9&UsE^(^b07*qoM6N<$f~3+X5&!@I 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 @@ - -]> - - - - - - - - - - - -- 1.7.10.4