This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] first PDF bookmark doesn't point to the cover


On Fri, Sep 12, 2003 at 01:09:15PM +0200, Tobias Reif wrote:
> Hi
> 
> With the latest docbook.sf.net DBX to FO XSLTs and latest FOP the first 
> bookmark (the one labeled with the title) doesn't point to the cover but 
> instead to the empty page before the TOC.
> 
> See
> http://www.pinkjuice.com/howto/vimxml/print/vimxml.pdf
> 
> Is this a bug in FOP or in the docbook.sf.net DBX to FO XSLTs?
> 
> Is there a workaround or fix?

I'm not sure.  I get this problem when I process
with FOP version 0.20.4, but when I use FOP 0.20.5,
the titlepage bookmark link goes to the first title page.
Both FOP versions produce the extra blank page (or pages if
$double.sided=1) before the TOC.  That behavior is
peculiar to FOP.

I get the same behavior with version 1.61.3 of the stylesheets.
It appears to be a bug in FOP.  The FO output looks right:

<fox:outline xmlns:fox="http://xml.apache.org/fop/extensions";
             internal-destination="id2887719">
  <fox:label>Book title</fox:label>
</fox:outline>
...

    <fo:flow flow-name="xsl-region-body">
      <fo:block id="id2887719">
        <fo:block>
          <fo:block>
            <fo:block font-family="sans-serif,Symbol,ZapfDingbats" font-weight=" bold" font-size="24.8832pt" text-align="center" space-before="18.6624pt">
              <fo:block keep-with-next.within-column="always" hyphenate="false">Book title</fo:block>

That is, the bookmark link points to the correct id, and
the id is placed properly on the content block on the
first page.

-- 

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

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]