Add C15 Call History Protocol dissection (C15ch) dissector
[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 <!-- import the main stylesheet -->
6 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
7
8 <!-- create pdf bookmarks -->
9 <!-- Disable this since FOP 0.93 doesn't handle them, yet -->
10 <xsl:param name="fop1.extensions" select="1"/>
11
12 <!-- don't use the draft mode (no loading of image from the web) -->
13 <xsl:param name="draft.mode" select="no"/>
14
15 <!-- use graphics for admons (note, tip, ...) -->
16 <xsl:param name="admon.graphics" select="1"/>
17 <xsl:param name="admon.graphics.path">common_graphics/</xsl:param>
18 <xsl:param name="admon.graphics.extension" select="'.svg'"/>
19
20 <!-- use numbering for sections (not only for chapters) -->
21 <xsl:param name="section.autolabel" select="1"/>
22 <xsl:param name="section.label.includes.component.label" select="1"/>
23
24 <!-- include a single TOC (use book style TOC, removes the list of figures etc.) -->
25 <xsl:param name="generate.toc" select="'book toc'"/>
26
27 <!-- include page numbers in cross references -->
28 <!-- <xsl:param name="insert.xref.page.number" select="1"/> -->
29
30 <!-- don't show URL's, but only the text of it -->
31 <xsl:param name="ulink.show" select="0"/>
32
33 <!-- hyphenate URL's after the slash -->
34 <!-- (http://docbook.sourceforge.net/release/xsl/current/doc/fo/ulink.hyphenate.html) -->
35 <xsl:param name="ulink.hyphenate.chars" select="'/:'"></xsl:param>
36 <xsl:param name="ulink.hyphenate" select="'&#x200B;'"></xsl:param>
37
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>
41 </xsl:attribute-set>
42
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>
46 </xsl:attribute-set>
47 -->
48
49 <!-- set link style to blue and underlined -->
50 <xsl:attribute-set name="xref.properties">
51   <xsl:attribute name="color">blue</xsl:attribute>
52   <xsl:attribute name="text-decoration">underline</xsl:attribute>
53 </xsl:attribute-set>
54
55 <!-- reduce the size of programlisting to make them fit the page -->
56 <xsl:attribute-set name="monospace.verbatim.properties">
57   <xsl:attribute name="font-size">80%</xsl:attribute>
58 </xsl:attribute-set>
59
60 </xsl:stylesheet>