You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Norbert Schoepke <N....@criticalreach.com> on 2002/06/12 12:08:06 UTC

docbook and to real links in PDF possible ?

Hello FOP community

As I've seen working links in a PDF (to other websites) I wonder if it's
possible to generate internal and external links from my DocBook into PDF ?
I already gave the archives a try but couldn't find anything useful...
The DocBook tag <link> doesn't get interpreted at all and <ulink> writes
the whole URL in [ ] behind the link text, which can be very annoying !

If I use the FOP extensions I can produce bookmarks that work, so I guess
there could be a solution for this...

btw.: When I use these FOP extensions with my Stylesheets, the TOC's and
LOT's all don't get proper leader dots to right-align the pagenumbers...
Why is this ? If I don't use them, I get the leader dot all fine lined
up...

any help would be very appreciated...

Norbert Schöpke
Developer

Critical Reach AG
- optimizing the manufacturing aftermarket -
Garmischer Straße 19/21
81377 München
----
Fon:  +49 (89) / 54 26 21 - 54
Fax:  +49 (89) / 54 26 21 - 15
mailto:nschoepke@criticalreach.com
http://www.criticalreach.com



Re: docbook and to real links in PDF possible ?

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Norbert Schoepke wrote:
> As I've seen working links in a PDF (to other websites) I wonder if it's
> possible to generate internal and external links from my DocBook into PDF ?
> I already gave the archives a try but couldn't find anything useful...
> The DocBook tag <link> doesn't get interpreted at all and <ulink> writes
> the whole URL in [ ] behind the link text, which can be very annoying !

FOP can generate links in PDF. There are some serious bugs, though,
use links with care in tables and lists as the hot spot could be off
the intended place.
However, the effects you describe are produced by the DocBook style
sheet, you have to delve into it for fixing them.


J.Pietschmann


RE: docbook and to real links in PDF possible ?

Posted by Rob Smith <ro...@ifrsys.com>.
> From: Norbert Schoepke [mailto:N.Schoepke@criticalreach.com]
> btw.: When I use these FOP extensions with my Stylesheets,
> the TOC's and
> LOT's all don't get proper leader dots to right-align the
> pagenumbers...
> Why is this ? If I don't use them, I get the leader dot all fine lined
> up...

The TOC style with leaders didn't work with earlier FOP versions. Norman
Walsh modified his XSL stylesheets to switch to a simpler TOC style when FOP
extensions are turned on, about the same time that the FOP team fixed
leaders...

--
Rob Smith