]> granicus.if.org Git - postgresql/commitdiff
Fix display of <command> elements on man pages
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 30 Apr 2012 18:12:28 +0000 (21:12 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 30 Apr 2012 18:18:03 +0000 (21:18 +0300)
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.

doc/src/sgml/stylesheet-common.xsl
doc/src/sgml/stylesheet-fo.xsl
doc/src/sgml/stylesheet-hh.xsl
doc/src/sgml/stylesheet.xsl

index 2ad0a7f1cad85756e6da30e450eb94b3a62e6018..d0e0f19c136a399114e349d8de90c046b3d47b0f 100644 (file)
 
 <!-- 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>
index d982a3c46a5eb6d2726405eac07b05e32dd4ba18..aafc946d1b500e83958a2e29f581d684d3b82fcd 100644 (file)
@@ -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>
index 1c50518c706ef15da0675aa34e53dae3d0d19278..09a95041d6f76da53018bcd43525c206a89f1858 100644 (file)
 <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.
index 19cb5b0f64946fe1c37a1cc646112c24bf214e32..72dcd2c986c21a94301be5cdc9367bc474d022fa 100644 (file)
 <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.