Re: [docbook-apps] Failing to resolve olinkdb.xml

From
Bob Stayton <>
Date
2006-02-08T17:42:14+00:00
ID
006d01c62cd7$00ed2490$6400a8c0@toshiro
Thread
Re: [docbook-apps] Failing to resolve olinkdb.xml
Hi Paul,
1.  Relative URLs don't use a scheme part, which is the "file://" part of
your example.  Just use src/...

2.  It should work.  Can you peek inside the FO to see if the
text-decoration="underline" is added to the fo:basic-link that contains the
generated text?  If it is, then your FO processor doesn't support it for
that font.

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Paul Moloney" <>
To: "Bob Stayton" <>; <>
Sent: Wednesday, February 08, 2006 7:32 AM
Subject: Re: [docbook-apps] Failing to resolve olinkdb.xml


> Thanks Bob, that worked for me, and I managed to getting working
> links in my PDFs. Just 2 questions:
>
> 1. In olinkdb.xml, I'd like to have the entity references as relative
> paths (to facilitate its use in a build system). I tried links that were
> relative to the customised layer - for example:
>
> <!ENTITY admtargets SYSTEM "file://src/administrator_guide/target
> s.db">
>
> but this gave errors, as did using paths relative to the actual XML
> files. Can I use relative paths and, if so, what should they be relative
to?
>
> 2. How can I change the style of links in the resulting PDF? On a
> recommendation
> I saw, I added the following to my customisation layer:
>
>  <xsl:attribute-set name="xref.properties">
>    <xsl:attribute name="text-decoration">underline</xsl:attribute>
>  </xsl:attribute-set>
>
> ..but no underline is added to the links.
>
> Regards,
>
> P.
>
> -pm
>
> http://oceanclub.blogspot.com
>
> "For what you are about to receive may the lord God make you
> truly grateful. As the bishop said to the actress."
>
>