diff options
author | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-02-03 17:27:57 +0000 |
---|---|---|
committer | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-02-03 17:27:57 +0000 |
commit | dce6607e0f96982bd88fa5420dae970903aa629a (patch) | |
tree | 33478a2b89266990ddd3236871df136a1645add7 | |
parent | 2fa60e9ea7238f95e4996a2c6cedb0e0d72a3240 (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.xsl | 8 |
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="'​'"></xsl:param> +<xsl:param name="ulink.hyphenate.chars" select="'/:'"></xsl:param> +<xsl:param name="ulink.hyphenate" select="'​'"></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> |