diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-06-26 15:43:54 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:45:56 -0500 |
commit | 62b295f1de458f594c4565f44aeec70b1a75126e (patch) | |
tree | ddbacf4156e4353ed2f1b36ab2d2bd17fd2c3f17 /docs/xslt/yodl.xsl | |
parent | 3ec218e33109bbf256f3c9d49179a0ae82182640 (diff) | |
download | samba-62b295f1de458f594c4565f44aeec70b1a75126e.tar.gz samba-62b295f1de458f594c4565f44aeec70b1a75126e.tar.bz2 samba-62b295f1de458f594c4565f44aeec70b1a75126e.zip |
Fix Makefile (docs should build succesfully again now)
(This used to be commit 8f8e6d221c0637c66b20468560f49fc6258156f5)
Diffstat (limited to 'docs/xslt/yodl.xsl')
-rw-r--r-- | docs/xslt/yodl.xsl | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/docs/xslt/yodl.xsl b/docs/xslt/yodl.xsl index 9752858bce..bac86c826c 100644 --- a/docs/xslt/yodl.xsl +++ b/docs/xslt/yodl.xsl @@ -11,7 +11,7 @@ xmlns:exsl="http://exslt.org/common" version="1.1"> - <xsl:output method="text" encoding="iso-8859-1" standalone="yes"/> + <xsl:output method="text" encoding="iso-8859-1" standalone="yes" indent="no"/> <xsl:strip-space elements="*"/> <xsl:template match="refentry"> @@ -91,11 +91,7 @@ <xsl:text>paragraph(</xsl:text> <xsl:value-of select="title"/> <xsl:text>) </xsl:text> - <xsl:for-each select="para"> - <xsl:copy> - <xsl:apply-templates/> - </xsl:copy> - </xsl:for-each> + <xsl:apply-templates/> </xsl:template> <xsl:template match="part"> @@ -112,7 +108,13 @@ <xsl:apply-templates/> </xsl:template> - <xsl:template match="parameter"> + <xsl:template match="quote"> + <xsl:text>"</xsl:text> + <xsl:apply-templates/> + <xsl:text>"</xsl:text> + </xsl:template> + + <xsl:template match="parameter|filename"> <xsl:text>code(</xsl:text> <xsl:apply-templates/> <xsl:text>)</xsl:text> @@ -139,10 +141,10 @@ </xsl:template> <xsl:template match="refsynopsisdiv"> - manpagesynopsis() + <xsl:text>manpagesynopsis()</xsl:text> </xsl:template> - <xsl:template match="refsect1"> + <xsl:template match="refsect1|refsect2"> <xsl:choose> <xsl:when test="title='DESCRIPTION'"> <xsl:text> manpagedescription() </xsl:text> @@ -171,11 +173,7 @@ <xsl:text>) </xsl:text> </xsl:otherwise> </xsl:choose> - <xsl:for-each select="para"> - <xsl:copy> - <xsl:apply-templates/> - </xsl:copy> - </xsl:for-each> + <xsl:apply-templates/> </xsl:template> <xsl:template match="orderedlist"> @@ -206,14 +204,22 @@ <xsl:text>startdit() </xsl:text> <xsl:for-each select="varlistentry"> <xsl:text>dit(</xsl:text> - <xsl:value-of select="term"/> + <xsl:copy-of select="term"> + <xsl:apply-templates/> + </xsl:copy-of> <xsl:text>) </xsl:text> - <xsl:apply-templates select="listitem"/> + <xsl:apply-templates select="listitem/para"/> <xsl:text> </xsl:text> </xsl:for-each> <xsl:text>enddit() </xsl:text> </xsl:template> + <xsl:template match="anchor"> + <xsl:text>label(</xsl:text> + <xsl:value-of select="@id"/> + <xsl:text>) </xsl:text> + </xsl:template> + <xsl:template match="footnote"> <xsl:text>footnote(</xsl:text> <xsl:apply-templates/> |