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] | [List Home]

Subject: Re: [docbook-apps] Problem with bookmarks and page breaks in PDF-output

On Thu, May 15, 2003 at 11:34:46AM +0200, Joachim Ziegler wrote:
> Hello,
> according to Bob Stayton's "Using the XSLT Stylesheets" I do the 
> following to start every <sect1> on a new page.
> <!-- force page break before sect1 -->
> <xsl:attribute-set name="section.title.level1.properties">
>    <xsl:attribute name="break-before">page</xsl:attribute>
> </xsl:attribute-set>
> But now the PDF bookmarks are incorrect (as viewed in Acrobat Reader): 
> When a <sect1> starts on page N, the bookmarks links to page N-1.
> I am using stylesheets 1.60.1 and XEP 3.3.

It's worse than that.  The link from the table of contents
to the sections also land on the previous page.  That method
of doing the page breaks is not good.  It is putting
the break-before="page" property in a block nested in the
block that contains the section's id.  So the id is output,
then page breaks, leaving links to that page landing on
the previous page.

I need to figure out a better way to do section page breaks.


Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

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