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 <xsl:param name="fop.extensions" select="1"/>
13 <!-- don't use the draft mode (no loading of image from the web) -->
14 <xsl:param name="draft.mode" select="no"/>
16 <!-- use graphics for admons (note, tip, ...) -->
17 <xsl:param name="admon.graphics" select="1"/>
18 <xsl:param name="admon.graphics.path">wsug_graphics/</xsl:param>
19 <xsl:param name="admon.graphics.extension" select="'.png'"/>
21 <!-- use numbering for sections (not only for chapters) -->
22 <xsl:param name="section.autolabel" select="1"/>
23 <xsl:param name="section.label.includes.component.label" select="1"/>
25 <!-- include a single TOC (use book style TOC, removes the list of figures etc.) -->
26 <xsl:param name="generate.toc" select="'book toc'"/>
28 <!-- include page numbers in cross references -->
29 <!-- <xsl:param name="insert.xref.page.number" select="1"/> -->
31 <!-- don't show URL's, but only the text of it -->
32 <xsl:param name="ulink.show" select="0"/>
34 <!-- hyphenate URL's after the slash -->
35 <!-- (http://docbook.sourceforge.net/release/xsl/current/doc/fo/ulink.hyphenate.html) -->
36 <xsl:param name="ulink.hyphenate" select="'​'"></xsl:param>
38 <!-- don't allow section titles to be hyphenated -->
39 <xsl:attribute-set name="section.title.properties">
40 <xsl:attribute name="hyphenate">false</xsl:attribute>
43 <!-- put a page break after each section -->
44 <xsl:attribute-set name="section.level1.properties">
45 <xsl:attribute name="break-after">page</xsl:attribute>
48 <!-- set link style to blue and underlined -->
49 <xsl:attribute-set name="xref.properties">
50 <xsl:attribute name="color">blue</xsl:attribute>
51 <xsl:attribute name="text-decoration">underline</xsl:attribute>