OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: Bookmark linking to PDF body? (update)


UPDATE: It seems that the problem only happens when the root element is
book. I'm working on an article and the bookmarks work just fine

--- Original Message ---
I'm using a customization layer on top of the XSL style sheets version 1.48
and running the output through Fop 0.20.3rc. I have the following question:

When I run the file through fop it generates the bookmarks correctly but
doesn't link the bookmarks to the corresponding section of the file. Is
there anything extra that I need to do? Is there anything in particular that
I need to add to the customization layer?

The customization layer is copied below

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version='1.0'
                xmlns="http://www.w3.org/TR/xhtml1/transitional"
                exclude-result-prefixes="#default">

<xsl:import href="docbook.xsl"/>

<!-- Sets the level of table of contents -->
<xsl:variable name="toc.section.depth">4</xsl:variable>

<!-- Callout related parameters -->
<xsl:param name="callout.defaultcolumn" select="'80'"/>
<xsl:param name="callout.graphics.extension" select="'.png'"/>
<xsl:param name="callout.graphics" select="'1'"/>
<xsl:param name="callout.graphics.path" select="'images/'"/>
<xsl:param name="callout.list.table" select="'1'"/>

<xsl:attribute-set name="admonition.title.properties">
  <xsl:attribute name="font-size">14pt</xsl:attribute>
  <xsl:attribute name="font-weight">bold</xsl:attribute>
  <xsl:attribute name="hyphenate">false</xsl:attribute>
  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
<xsl:attribute-set name="admonition.title.properties">

  <xsl:attribute name="font-size">14pt</xsl:attribute>
  <xsl:attribute name="font-weight">bold</xsl:attribute>
  <xsl:attribute name="hyphenate">false</xsl:attribute>
  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
</xsl:attribute-set>

<xsl:param name="alignment">left</xsl:param>
<xsl:param name="appendix.autolabel" select="1"/>
<xsl:param name="arbortext.extensions" select="0"/>
<xsl:param name="author.othername.in.middle" select="1"/>
<xsl:param name="autotoc.label.separator" select="'. '"/>
<xsl:param name="biblioentry.item.separator">. </xsl:param>
<xsl:param name="bibliography.collection"
select="'http://docbook.sourceforge.ne
t/release/bibliography/bibliography.xml'"/>

<xsl:param name="fop.extensions" select="1"/>
<!-- restart numbering chapters for each part -->
<xsl:variable name="label.from.part">1</xsl:variable>
</xsl:stylesheet>

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email               carlos@cvc.edu
web                 http://www.cvc1.org/ (work)
                    http://www.silverwolf-net.net (personal)
phone               408 257 0420 (work)
PGP Fingerprint:    E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

Hey! It compiles! Ship it!



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC