diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-07-03 22:53:11 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-07-03 22:53:11 +0000 |
commit | e9f319a11b4f506f313b85dbea011760ec6acd91 (patch) | |
tree | 5d8a59dacdd01da3c4d47155b826992638d9d9e3 /docbook/custom_layer_pdf.xsl | |
parent | ab56eebd0c5b882587c0cca8d7f91b3eeaa9c376 (diff) |
from Jaap Keuter: some improvements to the custom PDF creation stylesheet
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14841 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'docbook/custom_layer_pdf.xsl')
-rw-r--r-- | docbook/custom_layer_pdf.xsl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docbook/custom_layer_pdf.xsl b/docbook/custom_layer_pdf.xsl index decca391dd..e411d0a1e7 100644 --- a/docbook/custom_layer_pdf.xsl +++ b/docbook/custom_layer_pdf.xsl @@ -18,12 +18,23 @@ <xsl:param name="section.autolabel" select="1"/> <xsl:param name="section.label.includes.component.label" select="1"/> +<!-- include a single TOC (use book style TOC, removes the list of figures etc.) --> +<xsl:param name="generate.toc" select="'book toc'"/> + <!-- include page numbers in cross references --> <!-- <xsl:param name="insert.xref.page.number" select="1"/> --> <!-- don't show URL's, but only the text of it --> <xsl:param name="ulink.show" select="0"/> +<!-- hyphenate URL's after the slash --> +<xsl:param name="ulink.hyphenate" select="'​'"></xsl:param> + +<!-- don't allow section titles to be hyphenated --> +<xsl:attribute-set name="section.title.properties"> + <xsl:attribute name="hyphenate">false</xsl:attribute> +</xsl:attribute-set> + <!-- put a page break after each section --> <xsl:attribute-set name="section.level1.properties"> <xsl:attribute name="break-after">page</xsl:attribute> |