Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 61c84b4

Browse files
committed
Fix display of <command> elements on man pages
We had changed this from the default bold to monospace for all output formats, but for man pages, this creates visual inconsistencies, so revert to the default for man pages.
1 parent 809e7e2 commit 61c84b4

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

doc/src/sgml/stylesheet-common.xsl

-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@
4242

4343
<!-- Change display of some elements -->
4444

45-
<xsl:template match="command">
46-
<xsl:call-template name="inline.monoseq"/>
47-
</xsl:template>
48-
4945
<xsl:template match="productname">
5046
<xsl:call-template name="inline.charseq"/>
5147
</xsl:template>

doc/src/sgml/stylesheet-fo.xsl

+6
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,10 @@
66
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
77
<xsl:include href="stylesheet-common.xsl" />
88

9+
<!-- Change display of some elements -->
10+
11+
<xsl:template match="command">
12+
<xsl:call-template name="inline.monoseq"/>
13+
</xsl:template>
14+
915
</xsl:stylesheet>

doc/src/sgml/stylesheet-hh.xsl

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
<xsl:param name="chunk.quietly" select="1"></xsl:param>
2121

2222

23+
<!-- Change display of some elements -->
24+
25+
<xsl:template match="command">
26+
<xsl:call-template name="inline.monoseq"/>
27+
</xsl:template>
28+
2329
<!--
2430
Format multiple terms in varlistentry vertically, instead
2531
of comma-separated.

doc/src/sgml/stylesheet.xsl

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
<xsl:param name="chunk.quietly" select="1"></xsl:param>
2121

2222

23+
<!-- Change display of some elements -->
24+
25+
<xsl:template match="command">
26+
<xsl:call-template name="inline.monoseq"/>
27+
</xsl:template>
28+
2329
<!--
2430
Format multiple terms in varlistentry vertically, instead
2531
of comma-separated.

0 commit comments

Comments
 (0)