Re: [docbook-apps] Need catalog entry to access stylesheet images locally - DocBook 5

From
Thomas Schraitle <>
Date
2008-04-03T20:43:05+00:00
ID
Thread
Re: [docbook-apps] Need catalog entry to access stylesheet images locally - DocBook 5
Hi John,

On Donnerstag, 3. April 2008, John Brown wrote:
>
> I tried to create a PDF with fop-trunk while I was disconnected from
> the network. Fop displayed numerous errors such as:
>
> SEVERE: Background image not available:
> http://docbook.sourceforge.net/release/i mages/draft.png
>
> I wrote what I thought were suitable catalog entries, re-generated the
> fo and then ran fop again, with the same result.
>
> [... snip ...]
>
> I have no idea where it is getting the sourceforge link from. I don't
> know whether it is a system id or a uri, so I tried both. The very long
> file:// URLS are correct; I tested them in Internet Explorer.
>
> How can I access my local copy?

You don't need a catalog, just the parameter draft.watermark.image. The 
default value is the above URL, but you can set it to a local copy of 
this PNG.

Reference:
http://docbook.sourceforge.net/release/xsl/current/doc/fo/draft.watermark.image.html


Hope that helps,
Tom

-- 
Thomas Schraitle