Olinks as internal links after xinclude

View: New views
4 Messages — Rating Filter:   Alert me  

Olinks as internal links after xinclude

by benno.wolf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,
I have some 'stand-alone' documents with a lot of olinks between them. Now I want to use xinclude to reassemble them or parts of them to a new master document - with the links still working. Problem now of course is: the former (external) olinks have now to serve as internal links. Is there a technique to achieve this? Or a workaround?

The only way I got it working is to omit the targetdoc= - parameter in the source documents, but then of course the olinks can't be processed in the stand-alone - documents.

Thanks alot in advance!

Regards,

Benno Wolf


Re: Olinks as internal links after xinclude

by Bergfrid Skaara :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We use entities for dynamic targetdoc, check it out in the DocBook
customization guide.

Best regards, Bergfrid Skaara


On Wed, Jul 1, 2009 at 9:52 AM, <benno.wolf@...> wrote:

>
> Hi,
> I have some 'stand-alone' documents with a lot of olinks between them. Now I
> want to use xinclude to reassemble them or parts of them to a new master
> document - with the links still working. Problem now of course is: the
> former (external) olinks have now to serve as internal links. Is there a
> technique to achieve this? Or a workaround?
>
> The only way I got it working is to omit the targetdoc= - parameter in the
> source documents, but then of course the olinks can't be processed in the
> stand-alone - documents.
>
> Thanks alot in advance!
>
> Regards,
>
> Benno Wolf
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...


Re: Olinks as internal links after xinclude

by Bob Stayton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here is a specific link to the doc Bergfrid mentioned:

http://www.sagehill.net/docbookxsl/modular-olinks.html

The second-to-last bullet describes the use of entity references for
targetdoc.

Bob Stayton
Sagehill Enterprises
bobs@...


----- Original Message -----
From: "Bergfrid Skaara" <bergfrid.digitaldias@...>
To: <docbook-apps@...>
Cc: <benno.wolf@...>
Sent: Wednesday, July 01, 2009 4:40 AM
Subject: Re: [docbook-apps] Olinks as internal links after xinclude


> We use entities for dynamic targetdoc, check it out in the DocBook
> customization guide.
>
> Best regards, Bergfrid Skaara
>
>
> On Wed, Jul 1, 2009 at 9:52 AM, <benno.wolf@...> wrote:
>>
>> Hi,
>> I have some 'stand-alone' documents with a lot of olinks between them.
>> Now I
>> want to use xinclude to reassemble them or parts of them to a new master
>> document - with the links still working. Problem now of course is: the
>> former (external) olinks have now to serve as internal links. Is there a
>> technique to achieve this? Or a workaround?
>>
>> The only way I got it working is to omit the targetdoc= - parameter in
>> the
>> source documents, but then of course the olinks can't be processed in the
>> stand-alone - documents.
>>
>> Thanks alot in advance!
>>
>> Regards,
>>
>> Benno Wolf
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@...
> For additional commands, e-mail: docbook-apps-help@...
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...


Antwort: Re: [docbook-apps] Olinks as internal links after xinclude

by benno.wolf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Many thanks for the replies, I got it working with Shared text entities in external entities files, in which the targetdoc= - entities are resolved to the demanded document(s).
The only thing to change is now the entity-reference in the DOCTYPE-declaration of each document:

?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book [
<!ENTITY % entity SYSTEM "entities_2.ent" >
%entity;
]>


Thanks again!

Regards,
Benno Wolf





"Bob Stayton" <bobs@...>

01.07.2009 17:49

An
"Bergfrid Skaara" <bergfrid.digitaldias@...>, <docbook-apps@...>
Kopie
<benno.wolf@...>
Thema
Re: [docbook-apps] Olinks as internal links after xinclude





Here is a specific link to the doc Bergfrid mentioned:

http://www.sagehill.net/docbookxsl/modular-olinks.html

The second-to-last bullet describes the use of entity references for
targetdoc.

Bob Stayton
Sagehill Enterprises
bobs@...


----- Original Message -----
From: "Bergfrid Skaara" <bergfrid.digitaldias@...>
To: <docbook-apps@...>
Cc: <benno.wolf@...>
Sent: Wednesday, July 01, 2009 4:40 AM
Subject: Re: [docbook-apps] Olinks as internal links after xinclude


> We use entities for dynamic targetdoc, check it out in the DocBook
> customization guide.
>
> Best regards, Bergfrid Skaara
>
>
> On Wed, Jul 1, 2009 at 9:52 AM, <benno.wolf@...> wrote:
>>
>> Hi,
>> I have some 'stand-alone' documents with a lot of olinks between them.
>> Now I
>> want to use xinclude to reassemble them or parts of them to a new master
>> document - with the links still working. Problem now of course is: the
>> former (external) olinks have now to serve as internal links. Is there a
>> technique to achieve this? Or a workaround?
>>
>> The only way I got it working is to omit the targetdoc= - parameter in
>> the
>> source documents, but then of course the olinks can't be processed in the
>> stand-alone - documents.
>>
>> Thanks alot in advance!
>>
>> Regards,
>>
>> Benno Wolf
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@...
> For additional commands, e-mail: docbook-apps-help@...
>
>
>