Bug 40517 - link to a page-sequence doesn't work
Summary: link to a page-sequence doesn't work
Status: CLOSED WONTFIX
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 0.20.5
Hardware: Sun Solaris
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-15 07:40 UTC by Oliver Kiddle
Modified: 2012-04-01 13:48 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Kiddle 2006-09-15 07:40:22 UTC
I'm using the docbook-xsl stylesheets to create my XSL-FO files. FOP is not
handling links where the destination id is in a fo:page-sequence element. This
means that in the table of contents, the page numbers are missing for all the
chapter headings. Similarly, the cross-referencing is broken so clicking on the
chapter heading in the table of contents or the PDF bookmark doesn't work.

Looking at the generated XSL-FO, there is for example the following for the PDF
bookmark: <fox:outline
internal-destination="id219576"><fox:label>1.&#xA0;Introduction</fox:label>
And, similarly in the table of contents: <fo:basic-link
internal-destination="id219576">1. Introduction</fo:basic-link>
And the destination is in a fo:page-sequence:
<fo:page-sequence id="id219576"

I can hack around the problem by adding the id to the fo:block that surrounds
the title of the chapter later on the page but it'd be better if it could handle
the destination being in the page-sequence. I'm no expert on XSL-FO so I'm
assuming this is valid (and hence not a docbook-xsl bug).
Comment 1 Jeremias Maerki 2006-09-15 18:55:54 UTC
FOP 0.20.5 is no longer maintained. All efforts go into the development of the
"trunk" (0.92beta). The latest release is able to reference page-sequences but
has problem with a few other id-bearing FO elements. Due to a problem with
page-number-citations, 0.92beta and later is probably not ideal for DocBook
applications, yet. You can try if the result is better with the latest release
(or FOP Trunk from the Subversion repository) but there are no guarantees.
Comment 2 Glenn Adams 2012-04-01 13:48:13 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs