]> granicus.if.org Git - postgresql/commitdiff
doc: Supply XSLT template for superscript element in man pages
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 17 Jul 2016 21:01:07 +0000 (17:01 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 17 Jul 2016 21:01:07 +0000 (17:01 -0400)
The default is no decoration, which looks confusing, for example on the
CREATE SEQUENCE man page.

doc/src/sgml/stylesheet-man.xsl

index 1feb4f5ec0677322ba5c6f09900d2e787e85941c..e9c407230c578bbc15774b6890d2dd5ab083ff1f 100644 (file)
 </xsl:template>
 
 
+<!-- Make superscripts visible in man pages (default is no decoration) -->
+<xsl:template match="superscript">
+  <xsl:text>^</xsl:text>
+  <xsl:apply-templates/>
+</xsl:template>
+
+
 <xsl:template match="refentry" mode="xref-to">
   <xsl:param name="referrer"/>
   <xsl:param name="xrefstyle"/>