diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-07-03 22:53:11 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-07-03 22:53:11 +0000 |
commit | a241214ad5f07f82a55199d86ea20eb06b8886e0 (patch) | |
tree | 5d8a59dacdd01da3c4d47155b826992638d9d9e3 /docbook/custom_layer_pdf.xsl | |
parent | 8a448fade7a1b759b9d2da76bbc4f2ab5b4955b8 (diff) |
from Jaap Keuter: some improvements to the custom PDF creation stylesheet
svn path=/trunk/; revision=14841
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> |