summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-1.9.1/doc/conf-dblatex-man.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-1.9.1/doc/conf-dblatex-man.xsl')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-1.9.1/doc/conf-dblatex-man.xsl19
1 files changed, 19 insertions, 0 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.9.1/doc/conf-dblatex-man.xsl b/Build/source/texk/dvisvgm/dvisvgm-1.9.1/doc/conf-dblatex-man.xsl
new file mode 100644
index 00000000000..23283210027
--- /dev/null
+++ b/Build/source/texk/dvisvgm/dvisvgm-1.9.1/doc/conf-dblatex-man.xsl
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This file is part of dvisvgm -->
+<!-- Copyright (C) 2015 Martin Gieseking -->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <!-- output monospaced text in bold -->
+ <xsl:template match="literal">
+ <xsl:text>\fB</xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>\fR</xsl:text>
+ </xsl:template>
+
+ <!-- append URL to hyperlinked text pointing to external targets -->
+ <xsl:template match="ulink[not(contains(., '://')) and not(contains(@url, 'mailto:'))]">
+ <xsl:apply-templates/>
+ <xsl:text> (\m[blue]</xsl:text>
+ <xsl:value-of select="@url"/>
+ <xsl:text>\m[])</xsl:text>
+ </xsl:template>
+</xsl:stylesheet> \ No newline at end of file