doc: Supply XSLT template for superscript element in man pages

The default is no decoration, which looks confusing, for example on the
CREATE SEQUENCE man page.
This commit is contained in:
Peter Eisentraut 2016-07-17 17:01:07 -04:00
parent f36ca9af05
commit 7482fc4600
1 changed files with 7 additions and 0 deletions

View File

@ -40,6 +40,13 @@
</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"/>