2 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
7 <!-- import the main stylesheet -->
8 <xsl:import href=
"http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
10 <!-- create pdf bookmarks -->
11 <!-- Disable this since FOP 0.93 doesn't handle them, yet -->
12 <xsl:param name=
"fop1.extensions" select=
"1"/>
14 <!-- don't use the draft mode (no loading of image from the web) -->
15 <xsl:param name=
"draft.mode" select=
"no"/>
17 <!-- use graphics for admons (note, tip, ...) -->
18 <xsl:param name=
"admon.graphics" select=
"1"/>
19 <xsl:param name=
"admon.graphics.path">wsug_graphics/
</xsl:param>
20 <xsl:param name=
"admon.graphics.extension" select=
"'.png'"/>
22 <!-- use numbering for sections (not only for chapters) -->
23 <xsl:param name=
"section.autolabel" select=
"1"/>
24 <xsl:param name=
"section.label.includes.component.label" select=
"1"/>
26 <!-- include a single TOC (use book style TOC, removes the list of figures etc.) -->
27 <xsl:param name=
"generate.toc" select=
"'book toc'"/>
29 <!-- include page numbers in cross references -->
30 <!-- <xsl:param name="insert.xref.page.number" select="1"/> -->
32 <!-- don't show URL's, but only the text of it -->
33 <xsl:param name=
"ulink.show" select=
"0"/>
35 <!-- hyphenate URL's after the slash -->
36 <!-- (http://docbook.sourceforge.net/release/xsl/current/doc/fo/ulink.hyphenate.html) -->
37 <xsl:param name=
"ulink.hyphenate.chars" select=
"'/:'"></xsl:param>
38 <xsl:param name=
"ulink.hyphenate" select=
"'​'"></xsl:param>
40 <!-- don't allow section titles to be hyphenated -->
41 <xsl:attribute-set name=
"section.title.properties">
42 <xsl:attribute name=
"hyphenate">false
</xsl:attribute>
45 <!-- put a page break after each section
46 <xsl:attribute-set name="section.level1.properties">
47 <xsl:attribute name="break-after">page</xsl:attribute>
51 <!-- set link style to blue and underlined -->
52 <xsl:attribute-set name=
"xref.properties">
53 <xsl:attribute name=
"color">blue
</xsl:attribute>
54 <xsl:attribute name=
"text-decoration">underline
</xsl:attribute>
57 <!-- reduce the size of programlisting to make them fit the page -->
58 <xsl:attribute-set name=
"monospace.verbatim.properties">
59 <xsl:attribute name=
"font-size">80%
</xsl:attribute>