In the 802.11 dissector, mark the "wep_keys" preference as obsolete,
[obnox/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 <!-- don't use the draft mode (no loading of image from the web) -->
14 <xsl:param name="draft.mode" select="no"/>
15
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'"/>
20
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"/>
24
25 <!-- include a single TOC (use book style TOC, removes the list of figures etc.) -->
26 <xsl:param name="generate.toc" select="'book toc'"/>
27
28 <!-- include page numbers in cross references -->
29 <!-- <xsl:param name="insert.xref.page.number" select="1"/> -->
30
31 <!-- don't show URL's, but only the text of it -->
32 <xsl:param name="ulink.show" select="0"/>
33
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="'&#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 <!-- 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>
52 </xsl:attribute-set>
53
54 </xsl:stylesheet>