TKL documentation
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 8 Nov 2002 12:27:00 +0000 (12:27 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 8 Nov 2002 12:27:00 +0000 (12:27 +0000)
configure.in
doc/.cvsignore
doc/Makefile.am
doc/tkl.xsl.in [new file with mode: 0644]
doc/yaz.xml.in

index efa2af5..231b4df 100644 (file)
@@ -1,6 +1,6 @@
 dnl YAZ Toolkit, Index Data 1994-2002
 dnl See the file LICENSE for details.
-dnl $Id: configure.in,v 1.94 2002-10-22 12:51:18 adam Exp $
+dnl $Id: configure.in,v 1.95 2002-11-08 12:27:00 adam Exp $
 AC_INIT(include/yaz/yaz-version.h)
 AM_INIT_AUTOMAKE(yaz, 1.9.1)
 dnl
@@ -349,6 +349,7 @@ doc/yaz.xml
 doc/yazhtml.dsl
 doc/yazphp.dsl
 doc/yazprint.dsl
+doc/tkl.xsl
 yaz-config
 lib/yaz-config
 ],[chmod +x yaz-config lib/yaz-config])
index 439a6a4..672dcc5 100644 (file)
@@ -10,6 +10,8 @@ yaz.aux
 yaz.log
 yaz.out
 yaz.pdf
+*.php
+*.tkl
 manpage.links
 manpage.refs
 *.[178]
index 368510a..1670e45 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.35 2002-09-25 20:32:22 adam Exp $
+## $Id: Makefile.am,v 1.36 2002-11-08 12:27:00 adam Exp $
 
 docdir=$(datadir)/doc/@PACKAGE@
 
@@ -26,7 +26,7 @@ MANFILES=yaz-client.1 yaz-client-ssl.1 yaz-ztest.8 \
 REFFILES=yaz-client.sgml yaz-ztest.sgml yaz-config.sgml \
        yaz-man.sgml zoomsh.sgml
 
-SUPPORTFILES=yazhtml.dsl yazphp.dsl yazprint.dsl xml.dcl id.eps id.png
+SUPPORTFILES=yazhtml.dsl yazphp.dsl yazprint.dsl tkl.xsl xml.dcl id.eps
 
 doc_DATA = $(HTMLFILES) yaz.pdf id.png
 
@@ -70,3 +70,6 @@ yaz.pdf: $(XMLFILES) $(srcdir)/id.png
        pdfjadetex yaz.tex
        pdfjadetex yaz.tex
 
+index.tkl: $(XMLFILES) tkl.xsl
+       xsltproc tkl.xsl yaz.xml
+
diff --git a/doc/tkl.xsl.in b/doc/tkl.xsl.in
new file mode 100644 (file)
index 0000000..7d29a1f
--- /dev/null
@@ -0,0 +1,49 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+               version="1.0">
+
+  <xsl:include href="/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/chunk.xsl"/>
+
+  <xsl:variable name="use.id.as.filename">1</xsl:variable>
+  <xsl:variable name="html.ext">.tkl</xsl:variable>
+  <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/> 
+
+<xsl:template name="chunk-element-content">
+  <xsl:param name="prev"/>
+  <xsl:param name="next"/>
+
+  <document>
+
+    <nonews>1</nonews>
+  
+    <title>
+       <xsl:apply-templates select="." mode="object.title.markup"/>
+    </title>
+
+    <body>
+      <xsl:call-template name="body.attributes"/>
+      <xsl:call-template name="user.header.navigation"/>
+
+      <xsl:call-template name="header.navigation">
+        <xsl:with-param name="prev" select="$prev"/>
+        <xsl:with-param name="next" select="$next"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="user.header.content"/>
+
+      <xsl:apply-imports/>
+
+      <xsl:call-template name="user.footer.content"/>
+
+      <xsl:call-template name="footer.navigation">
+        <xsl:with-param name="prev" select="$prev"/>
+        <xsl:with-param name="next" select="$next"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="user.footer.navigation"/>
+    </body>
+  </document>
+</xsl:template>
+
+</xsl:stylesheet>
+
+
index 13f2769..7515dd7 100644 (file)
      <!ENTITY comstack "<acronym>COMSTACK</acronym>">
      <!ENTITY zoom "<acronym>ZOOM</acronym>">
 ]>
-<!-- $Id: yaz.xml.in,v 1.5 2002-09-16 14:16:31 adam Exp $ -->
+<!-- $Id: yaz.xml.in,v 1.6 2002-11-08 12:27:00 adam Exp $ -->
 <book id="yaz">
  <bookinfo>
-  <title>YAZ User's Guide and Reference</title>
+  <title>YAZ User&apos;s Guide and Reference</title>
   <author><firstname>Sebastian</firstname><surname>Hammer</surname></author>
   <editor><firstname>Adam</firstname><surname>Dickmeiss</surname></editor>
   <copyright>