diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:54:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:54:43 +0000 |
commit | e4283f6d48b98e764b988b43bbc86b9d52e6ec94 (patch) | |
tree | c8f7f7a6c2f5faa2942d27cefc6fd46cca492656 /subprojects/extensions-tool/man/stylesheet.xsl | |
parent | Initial commit. (diff) | |
download | gnome-shell-upstream.tar.xz gnome-shell-upstream.zip |
Adding upstream version 43.9.upstream/43.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'subprojects/extensions-tool/man/stylesheet.xsl')
-rw-r--r-- | subprojects/extensions-tool/man/stylesheet.xsl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/subprojects/extensions-tool/man/stylesheet.xsl b/subprojects/extensions-tool/man/stylesheet.xsl new file mode 100644 index 0000000..047bd1b --- /dev/null +++ b/subprojects/extensions-tool/man/stylesheet.xsl @@ -0,0 +1,27 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> +<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/> + +<xsl:template match="variablelist/title"> + <xsl:text>.PP </xsl:text> + <xsl:call-template name="bold"> + <xsl:with-param name="node" select="."/> + <xsl:with-param name="context" select=".."/> + </xsl:call-template> + <xsl:text> </xsl:text> +</xsl:template> + +<xsl:template match="varlistentry[preceding-sibling::title]"> + <xsl:if test="not(preceding-sibling::varlistentry)"> + <xsl:text>.RS 4 </xsl:text> + <!-- comment out the leading .PP added by the original template --> + <xsl:text>.\"</xsl:text> + </xsl:if> + <xsl:apply-imports/> + <xsl:if test="position() = last()"> + <xsl:text>.RE </xsl:text> + </xsl:if> +</xsl:template> + +</xsl:stylesheet> |