diff options
author | Alexander Bokovoy <ab@samba.org> | 2008-04-07 11:08:19 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:47:45 -0500 |
commit | 5166145a577321cf627b2b8ed1a72f628d23f157 (patch) | |
tree | bc9d55e9dcbc4ae46ac27360f0b45b12bdd35c31 | |
parent | cc8cfd8e9108b4cbf3c0ef3f1c7daf2c1990de47 (diff) | |
download | samba-5166145a577321cf627b2b8ed1a72f628d23f157.tar.gz samba-5166145a577321cf627b2b8ed1a72f628d23f157.tar.bz2 samba-5166145a577321cf627b2b8ed1a72f628d23f157.zip |
Forgot to add these macros to a samba-docs repository
(This used to be commit b0df61bb4d184eb2b20ff5e9c7876721e44832dd)
-rw-r--r-- | docs/xslt/man.xsl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/xslt/man.xsl b/docs/xslt/man.xsl index e403122965..99b2112cb3 100644 --- a/docs/xslt/man.xsl +++ b/docs/xslt/man.xsl @@ -115,5 +115,32 @@ <xsl:apply-templates/> </xsl:template> + <!-- ================================================================== --> + <!-- These macros are from Docbook manpages XSLT development tree --> + <!-- help to maintain manpage generation clean when difference between --> + <!-- roff processors is important to note. --> + + <xsl:template name="roff-if-else-start"> + <xsl:param name="condition">n</xsl:param> + <xsl:text>.ie </xsl:text> + <xsl:value-of select="$condition"/> + <xsl:text> \{\ </xsl:text> + </xsl:template> + + <xsl:template name="roff-if-start"> + <xsl:param name="condition">n</xsl:param> + <xsl:text>.if </xsl:text> + <xsl:value-of select="$condition"/> + <xsl:text> \{\ </xsl:text> + </xsl:template> + + <xsl:template name="roff-else"> + <xsl:text>.\} </xsl:text> + <xsl:text>.el \{\ </xsl:text> + </xsl:template> + + <xsl:template name="roff-if-end"> + <xsl:text>.\} </xsl:text> + </xsl:template> </xsl:stylesheet> |