diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-06-13 00:48:46 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:46:46 -0500 |
commit | 8a5498d3bfa78923cbb4e6c79e152431223a4f86 (patch) | |
tree | 6f14e0c9690c6b5363d70cf497b6f1639f8cecea /docs/xslt/expand-sambadoc.xsl | |
parent | 5cec435fda2f812ef47185e331979e1072d62f43 (diff) | |
download | samba-8a5498d3bfa78923cbb4e6c79e152431223a4f86.tar.gz samba-8a5498d3bfa78923cbb4e6c79e152431223a4f86.tar.bz2 samba-8a5498d3bfa78923cbb4e6c79e152431223a4f86.zip |
Another set of updates; includes the new examples code and use of
10.5pt fonts. Still needs some polishing..
(This used to be commit eb11ea43f68f57d877dc80d4912396ad8e91a081)
Diffstat (limited to 'docs/xslt/expand-sambadoc.xsl')
-rw-r--r-- | docs/xslt/expand-sambadoc.xsl | 65 |
1 files changed, 3 insertions, 62 deletions
diff --git a/docs/xslt/expand-sambadoc.xsl b/docs/xslt/expand-sambadoc.xsl index 5ded8c703b..37e70cca5a 100644 --- a/docs/xslt/expand-sambadoc.xsl +++ b/docs/xslt/expand-sambadoc.xsl @@ -22,7 +22,7 @@ </xsl:copy> </xsl:template> - <xsl:template match="smbconfexample/smbconfoption|smbconfblock/smbconfoption"> + <xsl:template match="smbconfblock/smbconfoption"> <xsl:element name="member"> <xsl:element name="indexterm"> @@ -31,9 +31,6 @@ </xsl:element> </xsl:element> <xsl:element name="parameter"> - <xsl:text disable-output-escaping="yes"> - <?latex \hspace{1cm} ?> - </xsl:text> <xsl:value-of select="@name"/> <xsl:choose> <xsl:when test="text() != ''"> @@ -45,17 +42,14 @@ </xsl:element> </xsl:template> - <xsl:template match="smbconfexample/smbconfcomment|smbconfblock/smbconfcomment"> - <xsl:text disable-output-escaping="yes"> - <?latex \hspace{1cm} ?> - </xsl:text> + <xsl:template match="smbconfblock/smbconfcomment"> <xsl:element name="member"> <xsl:text># </xsl:text> <xsl:apply-templates/> </xsl:element> </xsl:template> - <xsl:template match="smbconfexample/smbconfsection|smbconfblock/smbconfsection"> + <xsl:template match="smbconfblock/smbconfsection"> <xsl:element name="member"> <xsl:text> </xsl:text> </xsl:element> @@ -105,35 +99,6 @@ </xsl:choose> </xsl:template> - <xsl:template match="smbconfexample"> - <xsl:choose> - <xsl:when test="title = ''"> - <xsl:message> - <xsl:text>Warning: smbconfexample does not have title!</xsl:text> - </xsl:message> - </xsl:when> - </xsl:choose> - <xsl:element name="example"> - <xsl:choose> - <xsl:when test="@id != ''"> - <xsl:attribute name="id"> - <xsl:value-of select="@id"/> - </xsl:attribute> - </xsl:when> - </xsl:choose> - - <xsl:element name="title"> - <xsl:value-of select="title"/> - </xsl:element> - <xsl:element name="simplelist"> - <xsl:apply-templates/> - </xsl:element> - </xsl:element> - </xsl:template> - - <xsl:template match="smbconfexample/title"> - </xsl:template> - <xsl:template match="smbconfblock"> <xsl:element name="simplelist"> <xsl:apply-templates/> @@ -146,33 +111,9 @@ </xsl:element> </xsl:template> - <xsl:template match="smbconfcomment"> - <xsl:text># </xsl:text> - <xsl:apply-templates/> - </xsl:template> - <xsl:template match="imagefile"> <xsl:element name="mediaobject"> <xsl:element name="imageobject"> - <xsl:attribute name="role"><xsl:text>latex</xsl:text></xsl:attribute> - <xsl:element name="imagedata"> - <xsl:attribute name="fileref"> - <xsl:value-of select="$latex.imagebasedir"/><xsl:text>images/</xsl:text><xsl:value-of select="text()"/></xsl:attribute> - <xsl:attribute name="scale"> - <xsl:choose> - <xsl:when test="@scale != ''"> - <xsl:value-of select="@scale"/> - </xsl:when> - - <xsl:otherwise> - <xsl:text>50</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:attribute> - <xsl:attribute name="scalefit"><xsl:text>1</xsl:text></xsl:attribute> - </xsl:element> - </xsl:element> - <xsl:element name="imageobject"> <xsl:attribute name="role"><xsl:text>html</xsl:text></xsl:attribute> <xsl:element name="imagedata"> <xsl:attribute name="fileref"> |