aboutsummaryrefslogtreecommitdiffstats
path: root/docbook/custom_layer_pdf.xsl
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-07-19 16:59:49 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-07-19 16:59:49 +0000
commit350c97cf6f8c62166c198d1b91b15f5bfb18bb60 (patch)
treed8575d2d367ff820eeba9c472403373d1a74d767 /docbook/custom_layer_pdf.xsl
parent019666360f56012c32137d2550539f90ec3e891b (diff)
The first draft of an updated "Ethereal User's Guide" redesigned and updated to the current released Ethereal version 0.10.5.
As generation of output files is a bit tricky, please have a look at the Readme.txt file for instructions. Please send comments and improvements. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11433 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'docbook/custom_layer_pdf.xsl')
-rw-r--r--docbook/custom_layer_pdf.xsl36
1 files changed, 36 insertions, 0 deletions
diff --git a/docbook/custom_layer_pdf.xsl b/docbook/custom_layer_pdf.xsl
new file mode 100644
index 0000000000..b8904efe97
--- /dev/null
+++ b/docbook/custom_layer_pdf.xsl
@@ -0,0 +1,36 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+<!-- import the main stylesheet -->
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
+
+<!-- create pdf bookmarks -->
+<xsl:param name="fop.extensions" select="1"/>
+
+<!-- use graphics for admons (note, tip, ...) -->
+<xsl:param name="admon.graphics" select="1"/>
+<xsl:param name="admon.graphics.path">graphics/</xsl:param>
+
+<!-- use numbering for sections (not only for chapters) -->
+<xsl:param name="section.autolabel" select="1"/>
+<xsl:param name="section.label.includes.component.label" select="1"/>
+
+<!-- include page numbers in cross references -->
+<!-- <xsl:param name="insert.xref.page.number" select="1"/> -->
+
+<!-- don't show URL's, but only the text of it -->
+<xsl:param name="ulink.show" select="0"/>
+
+<!-- put a page break after each section -->
+<xsl:attribute-set name="section.level1.properties">
+ <xsl:attribute name="break-after">page</xsl:attribute>
+</xsl:attribute-set>
+
+<!-- set link style to blue and underlined -->
+<xsl:attribute-set name="xref.properties">
+ <xsl:attribute name="color">blue</xsl:attribute>
+ <xsl:attribute name="text-decoration">underline</xsl:attribute>
+</xsl:attribute-set>
+
+</xsl:stylesheet>