diff options
author | Peter Eisentraut | 2012-04-30 18:12:28 +0000 |
---|---|---|
committer | Peter Eisentraut | 2012-04-30 18:18:03 +0000 |
commit | 61c84b47619c11e74089cb3160813a4b3c98e6d7 (patch) | |
tree | ce9e1adfd1ab7c5a0284285aceb428e60b74ac42 | |
parent | 809e7e21af8cd24855f1802524a13bbaa823f929 (diff) |
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.
-rw-r--r-- | doc/src/sgml/stylesheet-common.xsl | 4 | ||||
-rw-r--r-- | doc/src/sgml/stylesheet-fo.xsl | 6 | ||||
-rw-r--r-- | doc/src/sgml/stylesheet-hh.xsl | 6 | ||||
-rw-r--r-- | doc/src/sgml/stylesheet.xsl | 6 |
4 files changed, 18 insertions, 4 deletions
diff --git a/doc/src/sgml/stylesheet-common.xsl b/doc/src/sgml/stylesheet-common.xsl index 2ad0a7f1ca..d0e0f19c13 100644 --- a/doc/src/sgml/stylesheet-common.xsl +++ b/doc/src/sgml/stylesheet-common.xsl @@ -42,10 +42,6 @@ <!-- Change display of some elements --> -<xsl:template match="command"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - <xsl:template match="productname"> <xsl:call-template name="inline.charseq"/> </xsl:template> diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index d982a3c46a..aafc946d1b 100644 --- a/doc/src/sgml/stylesheet-fo.xsl +++ b/doc/src/sgml/stylesheet-fo.xsl @@ -6,4 +6,10 @@ <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/> <xsl:include href="stylesheet-common.xsl" /> +<!-- Change display of some elements --> + +<xsl:template match="command"> + <xsl:call-template name="inline.monoseq"/> +</xsl:template> + </xsl:stylesheet> diff --git a/doc/src/sgml/stylesheet-hh.xsl b/doc/src/sgml/stylesheet-hh.xsl index 1c50518c70..09a95041d6 100644 --- a/doc/src/sgml/stylesheet-hh.xsl +++ b/doc/src/sgml/stylesheet-hh.xsl @@ -20,6 +20,12 @@ <xsl:param name="chunk.quietly" select="1"></xsl:param> +<!-- Change display of some elements --> + +<xsl:template match="command"> + <xsl:call-template name="inline.monoseq"/> +</xsl:template> + <!-- Format multiple terms in varlistentry vertically, instead of comma-separated. diff --git a/doc/src/sgml/stylesheet.xsl b/doc/src/sgml/stylesheet.xsl index 19cb5b0f64..72dcd2c986 100644 --- a/doc/src/sgml/stylesheet.xsl +++ b/doc/src/sgml/stylesheet.xsl @@ -20,6 +20,12 @@ <xsl:param name="chunk.quietly" select="1"></xsl:param> +<!-- Change display of some elements --> + +<xsl:template match="command"> + <xsl:call-template name="inline.monoseq"/> +</xsl:template> + <!-- Format multiple terms in varlistentry vertically, instead of comma-separated. |