From 7482fc4600ee97f8b2570e87b8c216a83b918065 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut <peter_e@gmx.net> Date: Sun, 17 Jul 2016 17:01:07 -0400 Subject: [PATCH] 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. --- doc/src/sgml/stylesheet-man.xsl | 7 +++++++ 1 file changed, 7 insertions(+) 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"/> -- GitLab