summaryrefslogtreecommitdiff
path: root/docbook/custom_layer_pdf.xsl
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2007-02-03 17:27:57 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2007-02-03 17:27:57 +0000
commitb148f6b03ff55fd6401c65579559f3964e28baf5 (patch)
tree33478a2b89266990ddd3236871df136a1645add7 /docbook/custom_layer_pdf.xsl
parentb06f81f4b4f47cd3bcd730d84d9e4c0528014e9e (diff)
downloadwireshark-b148f6b03ff55fd6401c65579559f3964e28baf5.tar.gz
Improve layout of listings and long URL's
svn path=/trunk/; revision=20697
Diffstat (limited to 'docbook/custom_layer_pdf.xsl')
-rw-r--r--docbook/custom_layer_pdf.xsl8
1 files changed, 7 insertions, 1 deletions
diff --git a/docbook/custom_layer_pdf.xsl b/docbook/custom_layer_pdf.xsl
index 19f789f25a..357f64ded0 100644
--- a/docbook/custom_layer_pdf.xsl
+++ b/docbook/custom_layer_pdf.xsl
@@ -33,7 +33,8 @@
<!-- hyphenate URL's after the slash -->
<!-- (http://docbook.sourceforge.net/release/xsl/current/doc/fo/ulink.hyphenate.html) -->
-<xsl:param name="ulink.hyphenate" select="'&#x200b;'"></xsl:param>
+<xsl:param name="ulink.hyphenate.chars" select="'/:'"></xsl:param>
+<xsl:param name="ulink.hyphenate" select="'&#x200B;'"></xsl:param>
<!-- don't allow section titles to be hyphenated -->
<xsl:attribute-set name="section.title.properties">
@@ -51,4 +52,9 @@
<xsl:attribute name="text-decoration">underline</xsl:attribute>
</xsl:attribute-set>
+<!-- reduce the size of programlisting to make them fit the page -->
+<xsl:attribute-set name="monospace.verbatim.properties">
+ <xsl:attribute name="font-size">80%</xsl:attribute>
+</xsl:attribute-set>
+
</xsl:stylesheet>