aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2007-02-03 17:27:57 +0000
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2007-02-03 17:27:57 +0000
commitdce6607e0f96982bd88fa5420dae970903aa629a (patch)
tree33478a2b89266990ddd3236871df136a1645add7
parent2fa60e9ea7238f95e4996a2c6cedb0e0d72a3240 (diff)
Improve layout of listings and long URL's
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20697 f5534014-38df-0310-8fa8-9805f1628bb7
-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>