]> granicus.if.org Git - docbook-dsssl/commitdiff
Documentation fixes
authorNorman Walsh <ndw@nwalsh.com>
Tue, 3 Apr 2001 20:31:37 +0000 (20:31 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Tue, 3 Apr 2001 20:31:37 +0000 (20:31 +0000)
24 files changed:
xsl/doc/.cvsignore [new file with mode: 0644]
xsl/doc/Makefile [new file with mode: 0644]
xsl/doc/book.xsl [new file with mode: 0644]
xsl/doc/common/.cvsignore [new file with mode: 0644]
xsl/doc/common/Makefile [new file with mode: 0644]
xsl/doc/fo/.cvsignore [new file with mode: 0644]
xsl/doc/fo/Makefile [new file with mode: 0644]
xsl/doc/html/.cvsignore [new file with mode: 0644]
xsl/doc/html/Makefile [new file with mode: 0644]
xsl/doc/jrefhtml.xsl [new file with mode: 0644]
xsl/doc/lib/.cvsignore [new file with mode: 0644]
xsl/doc/lib/Makefile [new file with mode: 0644]
xsl/doc/reference.xsl [new file with mode: 0644]
xsl/docsrc/Makefile
xsl/docsrc/common/Makefile
xsl/docsrc/fo/Makefile
xsl/docsrc/html/Makefile
xsl/docsrc/jrefhtml.xsl
xsl/docsrc/lib/Makefile
xsl/docsrc/template/Makefile
xsl/docsrc/xsl2jref.xsl
xsl/fo/param.xsl
xsl/html/param.xsl
xsl/lib/lib.xsl

diff --git a/xsl/doc/.cvsignore b/xsl/doc/.cvsignore
new file mode 100644 (file)
index 0000000..2d19fc7
--- /dev/null
@@ -0,0 +1 @@
+*.html
diff --git a/xsl/doc/Makefile b/xsl/doc/Makefile
new file mode 100644 (file)
index 0000000..bb97b82
--- /dev/null
@@ -0,0 +1,33 @@
+.PHONY : clean
+
+RSTYLE=reference.xsl
+BSTYLE=book.xsl
+VPATH=../docsrc
+SAXVER=-6
+
+all: copyright.html warranty.html reference.html index.html
+       cd common; make
+       cd lib; make
+       cd html; make
+       cd fo; make
+
+copyright.html: copyright.xml $(RSTYLE)
+       xnsgmls -sv -E 5 -c /share/doctypes/catalog $(VPATH)/$<
+       saxon $(SAXVER) $< $(RSTYLE) $@
+
+warranty.html: warranty.xml $(RSTYLE)
+       xnsgmls -sv -E 5 -c /share/doctypes/catalog $(VPATH)/$<
+       saxon $(SAXVER) $< $(RSTYLE) $@
+
+reference.html: reference.xml $(RSTYLE) lib/lib.xml common/common.xml \
+               html/param.xml html/ebnf.xml \
+               fo/param.xml fo/table.xml
+       xnsgmls -sv -E 5 -c /share/doctypes/catalog $(VPATH)/$<
+       saxon $(SAXVER) $< $(RSTYLE) $@
+
+index.html: documentation.xml $(BSTYLE) reference.xml
+       xnsgmls -sv -E 5 -c /share/doctypes/catalog $(VPATH)/$<
+       saxon $(SAXVER) $< $(BSTYLE) $@
+
+clean:
+       rm -f *.html common/*.html lib/*.html html/*.html fo/*.html
diff --git a/xsl/doc/book.xsl b/xsl/doc/book.xsl
new file mode 100644 (file)
index 0000000..45f6880
--- /dev/null
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="../html/chunk.xsl"/>
+
+<xsl:param name="toc.section.depth" select="'1'"/>
+
+<xsl:param name="html.stylesheet" select="'reference.css'"/>
+
+<xsl:template match="olink[@type='title']">
+  <xsl:variable name="xml"
+                select="document(unparsed-entity-uri(@targetdocent))"/>
+  <xsl:variable name="title" select="($xml/*/title[1]
+                                      |$xml/*/bookinfo/title[1]
+                                      |$xml/*/referenceinfo/title[1])[1]"/>
+  <i>
+    <a href="{@localinfo}">
+      <xsl:apply-templates select="$title/*|$title/text()"/>
+    </a>
+  </i>
+</xsl:template>
+
+<xsl:template match="bookinfo/copyright|reference/copyright"
+              mode="titlepage.mode">
+  <xsl:variable name="years" select="year"/>
+  <xsl:variable name="holders" select="holder"/>
+
+  <p class="{name(.)}">
+    <a href="copyright.html">
+      <xsl:call-template name="gentext.element.name"/>
+    </a>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="$years" mode="titlepage.mode"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="gentext.by"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="$holders" mode="titlepage.mode"/>
+    <xsl:text>. </xsl:text>
+    <a href="warranty.html">No Warranty</a>
+    <xsl:text>.</xsl:text>
+  </p>
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/xsl/doc/common/.cvsignore b/xsl/doc/common/.cvsignore
new file mode 100644 (file)
index 0000000..2d19fc7
--- /dev/null
@@ -0,0 +1 @@
+*.html
diff --git a/xsl/doc/common/Makefile b/xsl/doc/common/Makefile
new file mode 100644 (file)
index 0000000..84cf601
--- /dev/null
@@ -0,0 +1,9 @@
+STYLE=../jrefhtml.xsl
+VPATH=../../docsrc/common
+
+HTMLFILES = common.html
+
+all: $(HTMLFILES)
+
+%.html : %.xml $(STYLE)
+       saxon $< $(STYLE) $@
diff --git a/xsl/doc/fo/.cvsignore b/xsl/doc/fo/.cvsignore
new file mode 100644 (file)
index 0000000..2d19fc7
--- /dev/null
@@ -0,0 +1 @@
+*.html
diff --git a/xsl/doc/fo/Makefile b/xsl/doc/fo/Makefile
new file mode 100644 (file)
index 0000000..a90a937
--- /dev/null
@@ -0,0 +1,9 @@
+STYLE=../jrefhtml.xsl
+VPATH=../../docsrc/fo
+
+HTMLFILES = param.html table.html
+
+all: $(HTMLFILES)
+
+%.html : %.xml $(STYLE)
+       saxon $< $(STYLE) $@
diff --git a/xsl/doc/html/.cvsignore b/xsl/doc/html/.cvsignore
new file mode 100644 (file)
index 0000000..2d19fc7
--- /dev/null
@@ -0,0 +1 @@
+*.html
diff --git a/xsl/doc/html/Makefile b/xsl/doc/html/Makefile
new file mode 100644 (file)
index 0000000..f9f21b6
--- /dev/null
@@ -0,0 +1,9 @@
+STYLE=../jrefhtml.xsl
+VPATH=../../docsrc/html
+
+HTMLFILES = param.html ebnf.html
+
+all: $(HTMLFILES)
+
+%.html : %.xml $(STYLE)
+       saxon $< $(STYLE) $@
diff --git a/xsl/doc/jrefhtml.xsl b/xsl/doc/jrefhtml.xsl
new file mode 100644 (file)
index 0000000..5123b27
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="../docsrc/jrefhtml.xsl"/>
+
+<xsl:param name="html.stylesheet" select="'../reference.css'"/>
+
+<xsl:template match="copyright" mode="titlepage.mode">
+  <xsl:variable name="years" select="year"/>
+  <xsl:variable name="holders" select="holder"/>
+
+  <p class="{name(.)}">
+    <a href="../copyright.html">
+      <xsl:call-template name="gentext.element.name"/>
+    </a>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="$years" mode="titlepage.mode"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="gentext.by"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="$holders" mode="titlepage.mode"/>
+    <xsl:text>. </xsl:text>
+    <a href="../warranty.html">No Warranty</a>
+    <xsl:text>.</xsl:text>
+  </p>
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/xsl/doc/lib/.cvsignore b/xsl/doc/lib/.cvsignore
new file mode 100644 (file)
index 0000000..2d19fc7
--- /dev/null
@@ -0,0 +1 @@
+*.html
diff --git a/xsl/doc/lib/Makefile b/xsl/doc/lib/Makefile
new file mode 100644 (file)
index 0000000..7a21c2d
--- /dev/null
@@ -0,0 +1,9 @@
+STYLE=../jrefhtml.xsl
+VPATH=../../docsrc/lib
+
+HTMLFILES = lib.html
+
+all: $(HTMLFILES)
+
+%.html : %.xml $(STYLE)
+       saxon $< $(STYLE) $@
diff --git a/xsl/doc/reference.xsl b/xsl/doc/reference.xsl
new file mode 100644 (file)
index 0000000..a5d3e98
--- /dev/null
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="../html/docbook.xsl"/>
+
+<xsl:param name="html.stylesheet" select="'reference.css'"/>
+
+<xsl:template match="/legalnotice">
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="olink[@type='title']">
+  <xsl:variable name="xml"
+                select="document(unparsed-entity-uri(@targetdocent))"/>
+  <xsl:variable name="title" select="($xml/*/title[1]
+                                      |$xml/*/bookinfo/title[1]
+                                      |$xml/*/referenceinfo/title[1])[1]"/>
+  <i>
+    <a href="{@localinfo}">
+      <xsl:apply-templates select="$title/*|$title/text()"/>
+    </a>
+  </i>
+</xsl:template>
+
+<xsl:template match="copyright" mode="titlepage.mode">
+  <xsl:variable name="years" select="year"/>
+  <xsl:variable name="holders" select="holder"/>
+
+  <p class="{name(.)}">
+    <a href="copyright.html">
+      <xsl:call-template name="gentext.element.name"/>
+    </a>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="$years" mode="titlepage.mode"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="gentext.by"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="$holders" mode="titlepage.mode"/>
+    <xsl:text>. </xsl:text>
+    <a href="warranty.html">No Warranty</a>
+    <xsl:text>.</xsl:text>
+  </p>
+</xsl:template>
+
+</xsl:stylesheet>
index 51a77edf0076fd61fab1456c47f899f7e9d78672..d2c0821e662cfe0c6fad3600f2c41819cc7f7e72 100644 (file)
@@ -1,6 +1,15 @@
+DIRS=common lib html fo template
+
 all:
-       cd common; make
-       cd lib; make
-       cd html; make
-       cd fo; make
-       cd template; make
+       for i in $(DIRS) __bogus__; do \
+               if [ $$i != __bogus__ ] ; then \
+                       echo "$(MAKE) -C $$i"; $(MAKE) -C $$i; \
+               fi \
+       done
+
+clean:
+       for i in $(DIRS) __bogus__; do \
+               if [ $$i != __bogus__ ] ; then \
+                       echo "$(MAKE) -C $$i clean"; $(MAKE) -C $$i clean; \
+               fi \
+       done
index c91756b937c3b708ccaff4941871b2e54bb8b067..3db2d185fd2dce2535147704ad7a850e34b9d219 100644 (file)
@@ -1,3 +1,6 @@
+XSLT=../../../cvstools/saxon
+XJPARSE=../../../cvstools/xjparse
+
 JSTYLE=../../docsrc/xsl2jref.xsl
 VPATH=../../common
 
@@ -5,6 +8,9 @@ XMLFILES = common.xml
 
 all: $(XMLFILES)
 
+clean:
+       rm -f $(XMLFILES)
+
 %.xml : %.xsl $(JSTYLE) ../../docsrc/legalnotice.xml
-       saxon -6 $< $(JSTYLE) /dev/null output-file=$@
-       xnsgmls -E 5 -sv -c /share/doctypes/catalog $@
+       $(XSLT) $< $(JSTYLE) /dev/null output-file=$@
+       $(XJPARSE) $@
index 2b38ace57c8392f757d53e33ff5b12f855009d76..b102e50147c18a6359522b12009083f24dfbf06f 100644 (file)
@@ -1,3 +1,6 @@
+XSLT=../../../cvstools/saxon
+XJPARSE=../../../cvstools/xjparse
+
 JSTYLE=../../docsrc/xsl2jref.xsl
 VPATH=../../fo
 
@@ -5,5 +8,9 @@ XMLFILES = param.xml table.xml
 
 all: $(XMLFILES)
 
+clean:
+       rm -f $(XMLFILES)
+
 %.xml : %.xsl $(JSTYLE)
-       saxon -6 $< $(JSTYLE) - output-file=$@
+       $(XSLT) $< $(JSTYLE) /dev/null output-file=$@
+       $(XJPARSE) $@
index f8304a7f06aa1d4511671722828de26471b6dd51..5acfb3d0307449f08feb600cfe849789a58a2ae9 100644 (file)
@@ -1,3 +1,6 @@
+XSLT=../../../cvstools/saxon
+XJPARSE=../../../cvstools/xjparse
+
 JSTYLE=../../docsrc/xsl2jref.xsl
 VPATH=../../html
 
@@ -5,5 +8,9 @@ XMLFILES = param.xml ebnf.xml
 
 all: $(XMLFILES)
 
+clean:
+       rm -f $(XMLFILES)
+
 %.xml : %.xsl $(JSTYLE)
-       saxon -6 $< $(JSTYLE) /dev/null output-file=$@
+       $(XSLT) $< $(JSTYLE) /dev/null output-file=$@
+       $(XJPARSE) $@
index b176fcabbbd8d3815dbaa5cd6083e3db3642e1c5..f1c21981ee8e2e300dc88089997a8888f33fdb74 100644 (file)
@@ -1,7 +1,5 @@
 <?xml version='1.0'?>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                xmlns:lxslt="http://xml.apache.org/xslt"
-                exclude-result-prefixes="lxslt"
                 version='1.0'>
 
 <xsl:import href="../html/docbook.xsl"/>
@@ -23,8 +21,6 @@
 
 <!-- ==================================================================== -->
 
-<xsl:template match="lxslt:component"/>
-
 <xsl:param name="part.autolabel" select="0"/>
 
 <xsl:template match="refentry">
index e4c522c905228f56623d48667df2bc6758f70502..228c46c9f5c0f92ae53e63b3ba5a68a78ce4a93d 100644 (file)
@@ -1,3 +1,6 @@
+XSLT=../../../cvstools/saxon
+XJPARSE=../../../cvstools/xjparse
+
 JSTYLE=../../docsrc/xsl2jref.xsl
 VPATH=../../lib
 
@@ -5,5 +8,9 @@ XMLFILES = lib.xml
 
 all: $(XMLFILES)
 
+clean:
+       rm -f $(XMLFILES)
+
 %.xml : %.xsl $(JSTYLE)
-       saxon -6 $< $(JSTYLE) /dev/null output-file=$@
+       $(XSLT) $< $(JSTYLE) /dev/null output-file=$@
+       $(XJPARSE) $@
index 30b891eb6a97c4706a1df6764fa38c7ffda4c944..1c45f23dfb19dcc863579f6f0235db12deb1a122 100644 (file)
@@ -1,3 +1,6 @@
+XSLT=../../../cvstools/saxon
+XJPARSE=../../../cvstools/xjparse
+
 JSTYLE=../../docsrc/xsl2jref.xsl
 VPATH=../../template
 
@@ -5,6 +8,9 @@ XMLFILES = titlepage.xml
 
 all: $(XMLFILES)
 
+clean:
+       rm -f $(XMLFILES)
+
 %.xml : %.xsl $(JSTYLE)
-       saxon -6 $< $(JSTYLE) /dev/null output-file=$@
-       xnsgmls -E 5 -sv -c /share/doctypes/catalog $@
+       $(XSLT) $< $(JSTYLE) /dev/null output-file=$@
+       $(XJPARSE) $@
index 7fe10463a8f3076d99fd360795eeb9a949debf2e..297d57a0cb6c5561972928d20478e02521e036fb 100644 (file)
@@ -4,14 +4,11 @@
 ]>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 version='1.0'
-                xmlns:docbook="http://www.oasis-open.org/docbook/xml/4.0"
                 xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
-                xmlns:xt="http://www.jclark.com/xt"
-                xmlns:saxon="http://icl.com/saxon"
                 xmlns:lxslt="http://xml.apache.org/xslt"
-                xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect"
-                exclude-result-prefixes="doc docbook xsl"
-                extension-element-prefixes="xt saxon xalanredirect lxslt">
+                exclude-result-prefixes="doc xsl lxslt">
+
+<xsl:include href="../html/chunker.xsl"/>
 
 <xsl:output
      method="xml"
 
 <!-- ==================================================================== -->
 
+<xsl:template match="lxslt:*">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
 <xsl:template match="/">
   <xsl:choose>
     <xsl:when test="$output-file = ''">
       </xsl:message>
     </xsl:when>
     <xsl:when test="/xsl:stylesheet/doc:*">
-      <xt:document method="xml" href="{$output-file}">
-        <xsl:apply-templates/>
-        <xsl:fallback>
-          <xalanredirect:write file="{$output-file}">
-            <xsl:apply-templates/>
-            <xsl:fallback>
-              <saxon:output method="xml" file="{$output-file}">
-                <xsl:apply-templates/>
-                <xsl:fallback>
-                  <xsl:apply-templates/>
-                </xsl:fallback>
-              </saxon:output>
-            </xsl:fallback>
-          </xalanredirect:write>
-        </xsl:fallback>
-      </xt:document>
+      <xsl:call-template name="write.chunk">
+        <xsl:with-param name="filename" select="$output-file"/>
+        <xsl:with-param name="method" select="'xml'"/>
+        <xsl:with-param name="encoding" select="'utf-8'"/>
+        <xsl:with-param name="content">
+          <xsl:apply-templates/>
+        </xsl:with-param>
+      </xsl:call-template>
     </xsl:when>
     <xsl:otherwise>
       <!-- nop -->
 </xsl:template>
 
 <xsl:template match="xsl:include">
+  <!-- nop -->
+<!--
   <xsl:apply-templates select="document(@href)/*"/>
+-->
 </xsl:template>
 
 <xsl:template match="@*" mode="copy">
 </xsl:template>
 
 <xsl:template match="doc:attribute-set">
-  <xsl:variable name="name" select="@mode"/>
+  <xsl:variable name="name" select="@name"/>
 
   <refentry id="attrset.{$name}">
     <refnamediv>
index 9db4d1d16f82574ee301ff2c5d6d66a933c25125..22aec224e77ca782492e42807656f11992feb63a 100644 (file)
@@ -343,7 +343,7 @@ callouts should not be used.
 <xsl:param name="callout.unicode.start.character" select="10102"
            doc:type='integer'/>
 
-<doc:param name="callout.graphics.number.limit" xmlns="">
+<doc:param name="callout.unicode.start.character" xmlns="">
 <refpurpose>Number of the largest callout graphic</refpurpose>
 <refdescription>
 <para>If <parameter>callout.graphics</parameter>
@@ -362,7 +362,7 @@ be used.
 <xsl:param name="callout.unicode.number.limit" select="'10'"
            doc:type='integer'/>
 
-<doc:param name="callout.graphics.number.limit" xmlns="">
+<doc:param name="callout.unicode.number.limit" xmlns="">
 <refpurpose>Number of the largest callout graphic</refpurpose>
 <refdescription>
 <para>If <parameter>callout.graphics</parameter>
index 5f16be9d14e39244acbe2d2a1362174a235861f8..acaa6f71a807a9b98726ba15d8e2ff84f1a23561 100644 (file)
@@ -723,7 +723,7 @@ have, surprise, line numbers.
 <!-- ==================================================================== -->
 <xsl:param name="linenumbering.extension" select="'1'" doc:type='boolean'/>
 
-<doc:param name="saxon.linenumbering" xmlns="">
+<doc:param name="linenumbering.extension" xmlns="">
 <refpurpose>Enable the line numbering extension</refpurpose>
 <refdescription>
 <para>If true, verbatim environments (elements that have the
@@ -863,7 +863,7 @@ in the CALS table.
 <!-- ==================================================================== -->
 <xsl:param name="tablecolumns.extension" select="'1'" doc:type='boolean'/>
 
-<doc:param name="saxon.tablecolumns" xmlns="">
+<doc:param name="tablecolumns.extension" xmlns="">
 <refpurpose>Enable the table columns extension function</refpurpose>
 <refdescription>
 <para>The table columns extension function adjusts the widths of table
@@ -876,7 +876,7 @@ in the CALS table.
 <!-- ==================================================================== -->
 <xsl:param name="generate.set.toc" select='1' doc:type='boolean'/>
 
-<doc:param name="" xmlns="">
+<doc:param name="generate.set.toc" xmlns="">
 <refpurpose>FIXME:</refpurpose>
 <refdescription>
 <para>FIXME:
@@ -887,7 +887,7 @@ in the CALS table.
 <!-- ==================================================================== -->
 <xsl:param name="generate.book.toc" select='1' doc:type='boolean'/>
 
-<doc:param name="" xmlns="">
+<doc:param name="generate.book.toc" xmlns="">
 <refpurpose>FIXME:</refpurpose>
 <refdescription>
 <para>FIXME:
@@ -898,7 +898,7 @@ in the CALS table.
 <!-- ==================================================================== -->
 <xsl:param name="generate.part.toc" select='1' doc:type='boolean'/>
 
-<doc:param name="" xmlns="">
+<doc:param name="generate.part.toc" xmlns="">
 <refpurpose>FIXME:</refpurpose>
 <refdescription>
 <para>FIXME:
@@ -909,7 +909,7 @@ in the CALS table.
 <!-- ==================================================================== -->
 <xsl:param name="generate.reference.toc" select='1' doc:type='boolean'/>
 
-<doc:param name="" xmlns="">
+<doc:param name="generate.reference.toc" xmlns="">
 <refpurpose>FIXME:</refpurpose>
 <refdescription>
 <para>FIXME:
@@ -920,7 +920,7 @@ in the CALS table.
 <!-- ==================================================================== -->
 <xsl:param name="generate.preface.toc" select='1' doc:type='boolean'/>
 
-<doc:param name="" xmlns="">
+<doc:param name="generate.preface.toc" xmlns="">
 <refpurpose>FIXME:</refpurpose>
 <refdescription>
 <para>FIXME:
@@ -931,7 +931,7 @@ in the CALS table.
 <!-- ==================================================================== -->
 <xsl:param name="generate.chapter.toc" select='1' doc:type='boolean'/>
 
-<doc:param name="" xmlns="">
+<doc:param name="generate.chapter.toc" xmlns="">
 <refpurpose>FIXME:</refpurpose>
 <refdescription>
 <para>FIXME:
@@ -942,7 +942,7 @@ in the CALS table.
 <!-- ==================================================================== -->
 <xsl:param name="generate.appendix.toc" select='1' doc:type='boolean'/>
 
-<doc:param name="" xmlns="">
+<doc:param name="generate.appendix.toc" xmlns="">
 <refpurpose>FIXME:</refpurpose>
 <refdescription>
 <para>FIXME:
@@ -953,7 +953,7 @@ in the CALS table.
 <!-- ==================================================================== -->
 <xsl:param name="generate.article.toc" select='1' doc:type='boolean'/>
 
-<doc:param name="" xmlns="">
+<doc:param name="generate.article.toc" xmlns="">
 <refpurpose>FIXME:</refpurpose>
 <refdescription>
 <para>FIXME:
@@ -964,7 +964,7 @@ in the CALS table.
 <!-- ==================================================================== -->
 <xsl:param name="generate.section.toc" select='0' doc:type='boolean'/>
 
-<doc:param name="" xmlns="">
+<doc:param name="generate.section.toc" xmlns="">
 <refpurpose>FIXME:</refpurpose>
 <refdescription>
 <para>FIXME:
@@ -975,7 +975,7 @@ in the CALS table.
 <!-- ==================================================================== -->
 <xsl:param name="generate.index" select='1' doc:type='boolean'/>
 
-<doc:param name="" xmlns="">
+<doc:param name="generate.index" xmlns="">
 <refpurpose>FIXME:</refpurpose>
 <refdescription>
 <para>FIXME:
@@ -998,7 +998,7 @@ in the CALS table.
 <xsl:param name="callout.unicode.start.character" select="10102"
            doc:type='integer'/>
 
-<doc:param name="callout.graphics.number.limit" xmlns="">
+<doc:param name="callout.unicode.start.character" xmlns="">
 <refpurpose>Number of the largest callout graphic</refpurpose>
 <refdescription>
 <para>If <parameter>callout.graphics</parameter>
@@ -1017,7 +1017,7 @@ be used.
 <xsl:param name="callout.unicode.number.limit" select="'10'"
            doc:type='integer'/>
 
-<doc:param name="callout.graphics.number.limit" xmlns="">
+<doc:param name="callout.unicode.number.limit" xmlns="">
 <refpurpose>Number of the largest callout graphic</refpurpose>
 <refdescription>
 <para>If <parameter>callout.graphics</parameter>
index 7aa690b47f75dca6cca7747d1a77f27466ec7fc2..178fae16d972c898f694acb17370e0a7e2b423f6 100644 (file)
@@ -95,8 +95,8 @@ to be incomplete. Don't forget to read the source, too :-)</para>
 <refpurpose>Substitute one text string for another in a string</refpurpose>
 <refdescription>
 <para>The <function>string.subst</function> template replaces all
-occurances of <param>target</param> in <param>string</param>
-with <param>replacement</param> and returns the result.
+occurances of <parameter>target</parameter> in <parameter>string</parameter>
+with <parameter>replacement</parameter> and returns the result.
 </para>
 </refdescription>
 </doc:template>
@@ -198,7 +198,7 @@ unqualified length ("20" for "20pt") from a dimension.
 <refdescription>
 <para>The <function>length-spec</function> template returns the
 qualified length from a dimension. If an unqualified length is given,
-the <param>default.units</param> will be added to it.
+the <parameter>default.units</parameter> will be added to it.
 </para>
 </refdescription>
 </doc:template>