You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2003/11/25 14:36:31 UTC
cvs commit: httpd-2.0/docs/manual/style/man manpage.xsl
jorton 2003/11/25 05:36:31
Modified: docs/manual/style/man manpage.xsl
Log:
- use .SS not .Sh for subheadings, and don't capitalize them
- don't indent <dl> lists
Revision Changes Path
1.5 +2 -5 httpd-2.0/docs/manual/style/man/manpage.xsl
Index: manpage.xsl
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/style/man/manpage.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -u -r1.4 -r1.5
--- manpage.xsl 29 Apr 2003 23:07:54 -0000 1.4
+++ manpage.xsl 25 Nov 2003 13:36:31 -0000 1.5
@@ -257,10 +257,9 @@
<!-- ==================================================================== -->
<xsl:template match="section/section">
&lf;
-<xsl:text>.Sh "</xsl:text>
+<xsl:text>.SS "</xsl:text>
<xsl:call-template name="filter.escape">
- <xsl:with-param name="text"
- select="normalize-space(translate(title, $lowercase, $uppercase))"/>
+ <xsl:with-param name="text" select="normalize-space(title)"/>
</xsl:call-template>
<xsl:text>"</xsl:text>&lf;
<xsl:apply-templates />
@@ -322,9 +321,7 @@
<!-- ==================================================================== -->
<xsl:template match="dl">
&lf;
-<xsl:text>.RS</xsl:text>&lf;
<xsl:apply-templates />&lf;
-<xsl:text>.RE</xsl:text>&lf;
</xsl:template>