← Prev in month ← Prev in thread

Re: [docbook-apps] PDF named destinations using FOP

From
"Cob Rtayton"
Date
2005-04-20T08:21:30+00:00
ID
050c01c54581$cb0705e0$6400a8c0@toshiro
Thread
Re: [docbook-apps] PDF named destinations using FOP
I checked into CVS the changes to 
fo/fop.xsl to insert the fox:destination elements for everything that has an id 
attribute.  You could try out the snapshot build.  Be sure to set the 
stylesheet parameter insert.olink.pdf.frag to 1 so the fragment identifier is 
output to the FO file.

 

But I'm still a bit discouraged with how 
poorly supported linking between PDF files is with the current PDF 
readers.  I could not get links between local PDF files working if they 
included fragment identifiers.  If there is a fragment identifier, then the 
PDF output has "/URI (myfile.pdf#frag)". If you try to browse this locally with 
Acrobat Reader, it thinks you want http://myfile.pdf#frag, which does not 
work.  I tried various combinations of file: protocols, but none worked for 
me on Windows XP.  I could only get fragment identifiers to work if I used 
an absolute URL to a file I installed at that address on my website.  Not 
very flexible.

 

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting


 

 

  
----- Original Message ----- 

  
From: 
  Bob Stayton 
  

  
To:  ;  
  

  
Sent: Tuesday, April 19, 2005 2:24 
  PM

  
Subject: Re: [docbook-apps] PDF named 
  destinations using FOP

  

  
Hi Tim,

  
Other XSL-FO processors like XEP and XSL 
  Formatter automatically convert id attributes to named destinations.  I 
  didn't know that FOP required a separate extension to do that.  I'll see 
  if I can get that working.

  
 

  
Bob Stayton
Sagehill Enterprises
DocBook Consulting


  
 

  
 

  
    
----- Original Message ----- 

    
From: 
    Tim Casling 
    

    
To:  
    

    
Sent: Tuesday, April 19, 2005 1:07 
    AM

    
Subject: [docbook-apps] PDF named 
    destinations using FOP

    

    

    
Hi,

    
 

    
Has anybody implemented the 
    fox:destination extension with the docbook fo stylesheet?  I did a web 
    search and there were suggestions that the default behaviour should be to 
    convert IDs into PDF named destinations, but currently this doesn’t happen 
    with FOP.

    
 

    
Tim
← Prev in month ← Prev in thread