diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-07-19 16:59:49 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-07-19 16:59:49 +0000 |
commit | 556f1245e46dd68dcf322f5dff30dc24f7702032 (patch) | |
tree | d8575d2d367ff820eeba9c472403373d1a74d767 /docbook/custom_layer_pdf.xsl | |
parent | 5d366ee1e28624622011633a041fcbacc16dcb12 (diff) | |
download | wireshark-556f1245e46dd68dcf322f5dff30dc24f7702032.tar.gz wireshark-556f1245e46dd68dcf322f5dff30dc24f7702032.tar.bz2 wireshark-556f1245e46dd68dcf322f5dff30dc24f7702032.zip |
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.
svn path=/trunk/; revision=11433
Diffstat (limited to 'docbook/custom_layer_pdf.xsl')
-rw-r--r-- | docbook/custom_layer_pdf.xsl | 36 |
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> |