diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2012-04-30 21:12:28 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2012-04-30 21:18:03 +0300 |
commit | 61c84b47619c11e74089cb3160813a4b3c98e6d7 (patch) | |
tree | ce9e1adfd1ab7c5a0284285aceb428e60b74ac42 | |
parent | 809e7e21af8cd24855f1802524a13bbaa823f929 (diff) | |
download | postgresql-61c84b47619c11e74089cb3160813a4b3c98e6d7.tar.gz postgresql-61c84b47619c11e74089cb3160813a4b3c98e6d7.zip |
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 2ad0a7f1cad..d0e0f19c136 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 d982a3c46a5..aafc946d1b5 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 1c50518c706..09a95041d6f 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 19cb5b0f649..72dcd2c986c 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. |