diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2016-07-17 17:01:07 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2016-07-17 17:01:07 -0400 |
commit | 7482fc4600ee97f8b2570e87b8c216a83b918065 (patch) | |
tree | 27f1fe8cbb29c878d8663f7f4b57a7686239a70a | |
parent | f36ca9af05dd0468cdee28fbdbded690a10ff08b (diff) | |
download | postgresql-7482fc4600ee97f8b2570e87b8c216a83b918065.tar.gz postgresql-7482fc4600ee97f8b2570e87b8c216a83b918065.zip |
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.
-rw-r--r-- | doc/src/sgml/stylesheet-man.xsl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/sgml/stylesheet-man.xsl b/doc/src/sgml/stylesheet-man.xsl index 1feb4f5ec06..e9c407230c5 100644 --- a/doc/src/sgml/stylesheet-man.xsl +++ b/doc/src/sgml/stylesheet-man.xsl @@ -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"/> |