[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [PATCH] make funcsysopsisinfo verbatim in manpages
funcsynopsisinfo is supposed to be a verbatim environment; I haven't tested this patch because I failed to get a working CVS build setup. Is this OK? Index: block.xsl =================================================================== RCS file: /cvsroot/docbook/xsl/manpages/block.xsl,v retrieving revision 1.7 diff -u -r1.7 block.xsl --- block.xsl 9 Aug 2005 09:11:02 -0000 1.7 +++ block.xsl 12 Feb 2006 11:25:53 -0000 @@ -40,8 +40,8 @@ <xsl:text>.sp </xsl:text> </xsl:template> -<xsl:template match="address|literallayout|programlisting|screen|synopsis"> - <!-- * Yes, address and synopsis are verbatim environments. --> +<xsl:template match="address|literallayout|programlisting|screen|synopsis|funcsynopsisinfo"> + <!-- * Yes, address, synopsis, and funcsynopsisinfo are verbatim environments. --> <xsl:choose> <!-- * Check to see if this verbatim item is within a parent element that --> Index: synop.xsl =================================================================== RCS file: /cvsroot/docbook/xsl/manpages/synop.xsl,v retrieving revision 1.24 diff -u -r1.24 synop.xsl --- synop.xsl 3 Nov 2005 09:27:54 -0000 1.24 +++ synop.xsl 12 Feb 2006 11:25:53 -0000 @@ -241,11 +241,8 @@ <!-- * that document functions, and there's no good reason for us to --> <!-- * be following it. --> -<xsl:template match="funcsynopsisinfo"> - <xsl:text>.PP </xsl:text> - <xsl:apply-templates mode="bold" select="."/> - <xsl:text> </xsl:text> -</xsl:template> +<!-- * Note that funcsynopsisinfo is a verbatim environment and so --> +<!-- * is handled in block.xsl, and is not bold-ified for that reason --> <xsl:template match="funcprototype"> <xsl:variable name="funcprototype.string.value">
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]