Svn stuff:
[metze/wireshark/wip.git] / docbook / custom_layer_pdf.xsl
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                 version="1.0">
4
5 <!-- $Id$ -->
6
7 <!-- import the main stylesheet -->
8 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
9
10 <!-- create pdf bookmarks -->
11 <xsl:param name="fop.extensions" select="1"/>
12
13 <!-- use graphics for admons (note, tip, ...) -->
14 <xsl:param name="admon.graphics" select="1"/>
15 <xsl:param name="admon.graphics.path">graphics/</xsl:param>
16
17 <!-- use numbering for sections (not only for chapters) -->
18 <xsl:param name="section.autolabel" select="1"/>
19 <xsl:param name="section.label.includes.component.label" select="1"/>
20
21 <!-- include page numbers in cross references -->
22 <!-- <xsl:param name="insert.xref.page.number" select="1"/> -->
23
24 <!-- don't show URL's, but only the text of it -->
25 <xsl:param name="ulink.show" select="0"/>
26
27 <!-- put a page break after each section -->
28 <xsl:attribute-set name="section.level1.properties">
29   <xsl:attribute name="break-after">page</xsl:attribute>
30 </xsl:attribute-set>
31
32 <!-- set link style to blue and underlined -->
33 <xsl:attribute-set name="xref.properties">
34   <xsl:attribute name="color">blue</xsl:attribute>
35   <xsl:attribute name="text-decoration">underline</xsl:attribute>
36 </xsl:attribute-set>
37
38 </xsl:stylesheet>