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] Olinking for PDF generates absolute path


Hi Bob,

thanks, you are absolutely right it was only an artifact of the PDF reader.
Sorry, for the inconvenience.

Best regards,
Michael

-----Original Message-----
From: Bob Stayton [mailto:bobs@sagehill.net] 
Sent: Donnerstag, 11. Dezember 2014 18:06
To: Fritsch, Michael; docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] Olinking for PDF generates absolute path

Hi Michael,
I believe what you are seeing is an artifact of the PDF reader.  There is nothing in the XSL that generates a full path for the olinks.  If you generate a .fo file and examine it, you'll see relative paths in the olinks before being converted to PDF.

Try moving the files to a new location and see if the displayed path changes, and if the links work.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

On 12/11/2014 6:48 AM, Fritsch, Michael wrote:
> Hello,
>
> I try to get olinks between PDF manuals. I use XEP as the XSL-FO 
> renderer and DocBook 1.78.1 stylesheets with some customizations.
>
> I use the following olink database file:
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <!DOCTYPE targetset [
>
>          <!ENTITY importer SYSTEM "importer-developer-en/target.db">
>
>          <!ENTITY operations SYSTEM "operation-basics-en/target.db">
>
>          ]>
>
> <targetset>
>
>              <document targetdoc="AImporterDeveloperManual_280878"
> baseuri="importer-developer-en.pdf">
>
>                &importer;
>
>              </document>
>
>              <document targetdoc="AOperationsBasicKnowledge-285398"
> baseuri="operation-basics-en.pdf">
>
>                &operations;
>
>              </document>
>
> </targetset>
>
> (Using baseuri="file:importer-developer-en.pdf" does not work for me.)
>
> In the PDF I get an absolute link as shown in the screenshot with the 
> build directory as the prefix but what I want is a relative path.
>
> Is there a setting to get it or do I something wrong?
>
> Best regards,
>
> Michael
>
> Dr. Michael Fritsch
>
> Technical Editor
>
> tel +49.40.325587.214
> fax +49.40.325587.999
>
> _michael.fritsch@coremedia.com 
> <mailto:michael.fritsch@coremedia.com>___
>
> CoreMedia AG
>
> content | conversation | conversion
>
> Ludwig-Erhard-Str. 18
> 20459 Hamburg, Germany
> www.coremedia.com <http://www.coremedia.com/>
>
> Executive Board: Gerrit Kolb (CEO), Dr. Klemens Kleiminger (CFO) 
> Supervisory Board: Prof. Dr. Florian Matthes (Chairman) Trade 
> Register: Amtsgericht Hamburg, HR B 76277
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: 
> docbook-apps-help@lists.oasis-open.org
>


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