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 2018/06/27 07:24:39 UTC
svn commit: r1834470 - /httpd/httpd/trunk/docs/manual/style/xsl/nroff.xsl
Author: jorton
Date: Wed Jun 27 07:24:39 2018
New Revision: 1834470
URL: http://svn.apache.org/viewvc?rev=1834470&view=rev
Log:
Render <code> in bold in man pages, matching commonly used style in
both help2man and the standard DocBook XSL stylesheets for man output.
Modified:
httpd/httpd/trunk/docs/manual/style/xsl/nroff.xsl
Modified: httpd/httpd/trunk/docs/manual/style/xsl/nroff.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/xsl/nroff.xsl?rev=1834470&r1=1834469&r2=1834470&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/nroff.xsl (original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/nroff.xsl Wed Jun 27 07:24:39 2018
@@ -264,7 +264,7 @@
<!-- <strong> -->
<!-- show it somewhat special (bold) -->
<!-- ==================================================================== -->
-<xsl:template match="strong">
+<xsl:template match="strong|code">
<xsl:text>\fB</xsl:text>
<xsl:apply-templates />
<xsl:text>\fR</xsl:text>
@@ -373,7 +373,7 @@ FATAL: only tables with two (2) columns
<!-- ==================================================================== -->
<!-- pass through content -->
<!-- ==================================================================== -->
-<xsl:template match="a|code|module|table|program|glossary">
+<xsl:template match="a|module|table|program|glossary">
<xsl:apply-templates />
</xsl:template>