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: Re: DOCBOOK-APPS: link to chapter in pdf


Hi,

yes, I did this, but I thought this may be some problem
which is worth to be fixed in a newer release of the
docbook-fo-style ;-)

Greetings,

Marko

At 08:22 04.11.2002 +0100, you wrote:
>I think it is a fop problem.
>
>here is the workaround (that works for docbook-xsl-1.57.0) found in this
>newsgroup:
>
>in fo/component.xsl
>
>search for '.titlepage'
>
>add a block tag around the call-template:
>      <xsl:call-template name="component.separator"/>
>       <xsl:call-template name="preface.titlepage"/>
>
>now
>
>       <xsl:call-template name="component.separator"/>
>       <fo:block id="{$id}">
>         <xsl:call-template name="preface.titlepage"/>
>       </fo:block>
>
>do the same thing for
>
>preface.titlepage
>chapter.titlepage
>appendix.titlepage
>article.titlepage
>
>in fo/biblio.xsl do the same for
>bibliography.titlepage
>
>
>I put in attachement the modified files.
>
>Christophe
>
>----- Original Message -----
>From: "Marko Petersen" <lg002237@rzserv2.fhnon.de>
>To: <docbook-apps@lists.oasis-open.org>
>Sent: Sunday, November 03, 2002 7:18 PM
>Subject: DOCBOOK-APPS: link to chapter in pdf
>
>
> > 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?
> >
> > Greetings,
> >
> > Marko
> >
> >



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


Powered by eList eXpress LLC