projects
/
users
/
heikki
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f36ca9a
)
doc: Supply XSLT template for superscript element in man pages
author
Peter Eisentraut
<peter_e@gmx.net>
Sun, 17 Jul 2016 21:01:07 +0000
(17:01 -0400)
committer
Peter 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
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/stylesheet-man.xsl
b/doc/src/sgml/stylesheet-man.xsl
index 1feb4f5ec0677322ba5c6f09900d2e787e85941c..e9c407230c578bbc15774b6890d2dd5ab083ff1f 100644
(file)
--- 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"/>