Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7482fc4

Browse files
committed
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.
1 parent f36ca9a commit 7482fc4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/src/sgml/stylesheet-man.xsl

+7
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@
4040
</xsl:template>
4141

4242

43+
<!-- Make superscripts visible in man pages (default is no decoration) -->
44+
<xsl:template match="superscript">
45+
<xsl:text>^</xsl:text>
46+
<xsl:apply-templates/>
47+
</xsl:template>
48+
49+
4350
<xsl:template match="refentry" mode="xref-to">
4451
<xsl:param name="referrer"/>
4552
<xsl:param name="xrefstyle"/>

0 commit comments

Comments
 (0)