aboutsummaryrefslogtreecommitdiffstats
path: root/docbook/custom_layer_pdf.xsl
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-09-22 15:43:37 -0700
committerGerald Combs <gerald@wireshark.org>2016-09-22 22:48:01 +0000
commite0bc5b1c3e167a29d383c4f010ce91b57dc58a63 (patch)
treef39abd0d8c457f07a206526bf337aaa6b36267c3 /docbook/custom_layer_pdf.xsl
parenteeb4361e57e01d03a655433c9e75388d93bb9f6f (diff)
WSDG: Adjust markup and fix FOP warnings
Wrap monospace text in our PDF output. Fix the formatting of a list. Fix an anchor reference. Change-Id: Id9433f3e3462569299e6702b4a4e137481ad80c4 Reviewed-on: https://code.wireshark.org/review/17877 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'docbook/custom_layer_pdf.xsl')
-rw-r--r--docbook/custom_layer_pdf.xsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/docbook/custom_layer_pdf.xsl b/docbook/custom_layer_pdf.xsl
index 24f3e9a504..e656490ef4 100644
--- a/docbook/custom_layer_pdf.xsl
+++ b/docbook/custom_layer_pdf.xsl
@@ -53,8 +53,12 @@
</xsl:attribute-set>
<!-- reduce the size of programlisting to make them fit the page -->
+<!-- We might want to set the hyphenation character to "\":
+ http://www.sagehill.net/docbookxsl/FittingText.html
+-->
<xsl:attribute-set name="monospace.verbatim.properties">
<xsl:attribute name="font-size">80%</xsl:attribute>
+ <xsl:attribute name="wrap-option">wrap</xsl:attribute>
</xsl:attribute-set>
</xsl:stylesheet>