This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: link to chapter in pdf
- From: Bob Stayton <bobs at caldera dot com>
- To: Marko Petersen <lg002237 at rzserv2 dot fhnon dot de>,docbook-apps at lists dot oasis-open dot org
- Date: Mon, 04 Nov 2002 10:31:20 -0800
- Subject: Re: DOCBOOK-APPS: link to chapter in pdf
- References: <5.1.1.6.0.20021103184856.00b8e140@rzserv2.fhnon.de>
On Sun, Nov 03, 2002 at 07:18:22PM +0100, Marko Petersen wrote:
> hi,
>
> I have some problems with the PDF output.
> In the TOC the links to the chapters do not work,
> the same with the pdf-outlines. The link references
> the chapter-id, and this id is set to the corresponding
> fo:page-sequence of the chapter (in component.xsl).
> It works fine If I set the id after the fo:flow, for example
> (short form):
>
> <xsl:template match="chapter">
> <fo:page-sequence>
> <fo:flow>
> <fo:block id="{$id}"/>
> ....
>
> The same problem occurs with the other elements, like
> appendix, where the id is set in the fo:page-sequence.
> Is this a known problem?
Yes, FOP doesn't work correctly with id on page-sequence.
I think this message has some customizations that work around
the problem.
http://sources.redhat.com/ml/docbook-apps/2002-q3/msg00870.html
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com