summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-07-13 22:47:11 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:45:59 -0500
commite2f1abfc7ec5858be513c44bc4d6e92b303cc793 (patch)
tree6d33ac2d90f0ae10bee8cebf65b62a879b7b17a8
parenteb87ee3d8a3c442aa14152ad481916478c4cceb8 (diff)
downloadsamba-e2f1abfc7ec5858be513c44bc4d6e92b303cc793.tar.gz
samba-e2f1abfc7ec5858be513c44bc4d6e92b303cc793.tar.bz2
samba-e2f1abfc7ec5858be513c44bc4d6e92b303cc793.zip
Fix "explanation of each parameter"
Work on the pearson XSL script a bit more (This used to be commit dd05a7209379053f5eab8c89aff68028c5b6c439)
-rw-r--r--docs/Makefile.in2
-rw-r--r--docs/README4
-rw-r--r--docs/xslt/pearson.xsl18
3 files changed, 17 insertions, 7 deletions
diff --git a/docs/Makefile.in b/docs/Makefile.in
index c391031c4f..ef551e0a78 100644
--- a/docs/Makefile.in
+++ b/docs/Makefile.in
@@ -102,7 +102,7 @@ $(DOCBOOKDIR)/%.xml: %/index.xml xslt/expand-sambadoc.xsl
$(DOCBOOKDIR)/%.xml: $(MANPAGEDIR)/%.xml xslt/expand-sambadoc.xsl
mkdir -p $(@D)
- $(XSLTPROC) --stringparam latex.imagebasedir "$*/" --stringparam noreference 1 --output $@ xslt/expand-sambadoc.xsl $<
+ $(XSLTPROC) --xinclude --stringparam latex.imagebasedir "$*/" --stringparam noreference 1 --output $@ xslt/expand-sambadoc.xsl $<
$(DOCBOOKDIR)/manpages.xml: $(MANPAGES_SOURCES) xslt/manpage-summary.xsl
mkdir -p $(@D)
diff --git a/docs/README b/docs/README
index 7a31a868c2..0f6c0e78db 100644
--- a/docs/README
+++ b/docs/README
@@ -92,6 +92,10 @@ Add the following two lines to /etc/xml/catalog for db2latex:
<rewriteURI uriStartString="http://db2latex.sourceforge.net/xsl/" rewritePrefix="/export/user/me/source/docbook/db2latex/xsl/"/>
<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="/export/user/me/source/docbook/docbook-xsl/"/>
+For the Pearson DTD, add something like:
+
+ <public publicId="-//Pearson//DTD Books//DE" uri="file:///home/jelmer/Xml_dtd_1.1/pearson.dtd"/>
+
(of course, adapt /export/user/me/source/ to whatever path db2latex is
installed in...)
diff --git a/docs/xslt/pearson.xsl b/docs/xslt/pearson.xsl
index e5dd6749a5..bf362d39ea 100644
--- a/docs/xslt/pearson.xsl
+++ b/docs/xslt/pearson.xsl
@@ -12,7 +12,7 @@
<xsl:import href="../settings.xsl"/>
- <xsl:output method="xml" indent="yes" encoding="UTF-8" doctype-public="-//Pearson//DTD Books//DE" doctype-system="../../Xml_dtd_1.1/pearson.dtd"/>
+ <xsl:output method="xml" indent="yes" encoding="UTF-8" doctype-public="-//Pearson//DTD Books//DE" doctype-system="http://www.pearson.de/pearson.dtd"/>
<xsl:template match="book">
<xsl:element name="book">
@@ -37,8 +37,11 @@
</xsl:template>
<xsl:template match="ulink">
- <xsl:element name="url">
- <xsl:value-of select="@ulink"/>
+ <xsl:apply-templates/>
+ <xsl:element name="footnote">
+ <xsl:element name="url">
+ <xsl:value-of select="@ulink"/>
+ </xsl:element>
</xsl:element>
</xsl:template>
@@ -54,7 +57,7 @@
</xsl:element>
</xsl:template>
- <xsl:template match="itemizedlist">
+ <xsl:template match="para/itemizedlist|itemizedlist">
<xsl:element name="ul">
<xsl:for-each select="listitem">
<xsl:element name="li">
@@ -71,10 +74,13 @@
</xsl:template>
<xsl:template match="link">
+ <!--FIXME
<xsl:element name="xref">
- <xsl:attribute name="linkend"><xsl:value-of select="@linkend"/></xsl:attribute>
+ <xsl:attribute name="xlink:href">
+ <xsl:value-of select="@linkend"/>
+ </xsl:attribute>
<xsl:apply-templates/>
- </xsl:element>
+ </xsl:element>-->
</xsl:template>
<xsl:template match="acronym"/>