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] | [List Home]


Subject: Re: [docbook-apps] XInclude problems after upgrading docbooc-xsl


Ah, there is an olink option for that.  You want to generate the target.db 
using the HTML stylesheet so you get the right hrefs, but then when you 
process the files with the FO stylesheet, set the stylesheet parameter 
use.local.olink.style="1".  That will not use the xreftext content and 
instead will create a newly generated hot text using the FO stylesheet, 
which should give you fo:inlines.  See:

http://www.sagehill.net/docbookxsl/OlinkGentext.html#OlinkLocalStyles

Let me know if that works for you.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Gerd v. Egidy" <lists@egidy.de>
To: <docbook-apps@lists.oasis-open.org>
Cc: "Bob Stayton" <bobs@sagehill.net>
Sent: Monday, July 07, 2008 9:32 AM
Subject: Re: [docbook-apps] XInclude problems after upgrading docbooc-xsl


> Hi Bob,
>
> thanks for your quick reply.
>
>> So if you generate the target.db file with an HTML stylesheet, and then 
>> you
>> use that target.db file with an FO stylesheet, you'll get the results you
>> see.  So if you need to generate both outputs, you need to keep separate
>> target.db files, or regenerate them each time you process your documents.
>
> You are right, when I switch the stylesheet for generating the target.db 
> to FO
> I don't get the errors. But this leads to another problem: As linking from
> one PDF to another isn't very failsafe I always want to link to the
> HTML-output. So the PDF-readers and HTML-readers will always be sent to a
> http-URL which usually works without problems on all kind of platforms and
> readers.
>
> When switching to the FO-stylesheet during target.db-creation I won't get
> correct links into my HTML-output, but something like
>
> http://some.where/reference/#my-chapter
>
> How can I fix this?
>
> Kind regards,
>
> Gerd
>
> -- 
> Address (better: trap) for people I really don't want to get mail from:
> james@cactusamerica.com
>
> 



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