[xep-support] DocBook olink in PDF

mdamkier at versant.com mdamkier at versant.com
Thu Jul 2 08:19:48 PDT 2009


Hello all,
I am using DocBook 4.5 and 1.32.0 XSL (and 1.51.1) with XEP 4.9. My system 
is Windows XP.
I have just started to experiement with cross-document links in PDFs using 
<olink>. (Following the instructions in Bob Stayton's DocBook XSL book.)
Everything seems to be working fine. The targets.db files seem to be 
correctly created and the links do show up in the PDF.
But I cannot get the Acrobat reader to open the link as a PDF. Rather it 
insists on opening the browser. I can control whether the PDF opens in the 
browser or the browser asks to open in Acrobat, but that is not right. I 
want to open the PDF directly in Acrobat.
When I hover on the link in the PDF, it has the correct path with the 
file: protocol tacked on, e.g., file:///C:\Documents\Doc1.pdf#fragmentid. 
If I add the file: protocol to the baseuri attribute in the targetset's 
<document> tag (as mentioned in Stayton) then the PDF link is 
file:///C:\Documents\file:Doc1.pdf#idfragment.
Hopefully, someone has worked this out and can let me know what I am doing 
wrong.
Thank you in advance!

Michael Damkier
mdamkier at versant.com

Think Outside the Grid!
http://www.versant.com

Versant GmbH is incorporated in Germany.
Company registration number: HRB 54723, Amtsgericht Hamburg.
Registered Office: Wiesenkamp 22b, 22359 Hamburg, Germany.
Geschäftsführer: Jochen Witte.


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list