summaryrefslogtreecommitdiff
path: root/xorg.xsl
diff options
context:
space:
mode:
authorMatt Dew <matt@osource.org>2010-12-11 18:54:45 -0500
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-12-13 13:08:04 -0800
commit25eb7e73fd7bb0c9a47f946867c67eed74fea68f (patch)
tree12f94a176de031795e8bb39c7a065caa313babcf /xorg.xsl
parent6c172515b6bdeb7620082f7bb25e149967403885 (diff)
Add support for PDF bookmarks in the xorg stylesheet
PDF files can optionally include an active table of contents that is displayed alongside the pages in the PDF viewer. These references are called bookmarks. PDF bookmarks are generated using special functions in each XSL-FO processor because XSL cannot produce them directly. Bookmarks will be automatically produced when used with DocBook XSL stylesheets version 1.70.0 or later Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xorg.xsl')
-rw-r--r--xorg.xsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg.xsl b/xorg.xsl
index cf6c649..d3b0612 100644
--- a/xorg.xsl
+++ b/xorg.xsl
@@ -41,6 +41,10 @@ DEALINGS IN THE SOFTWARE.
<!-- Index links should point to indexterm location, not start of section -->
<xsl:param name="index.links.to.section" select="0"/>
+ <!-- PDF bookmarks extensions for FOP version 0.90 and later will be used. -->
+ <xsl:param name="fop.extensions" select="0"></xsl:param>
+ <xsl:param name="fop1.extensions" select="1"></xsl:param>
+
<!--
Speed up ps & pdf creation by not creating pages with "draft" image,
thus not needing to wait for http fetch of draft.png from docbook website.