RE: [docbook] Hyperlinks in PDF indexes

From
Rancier, Jeff <>
Date
2005-06-03T15:22:18+00:00
ID
Thread
RE: [docbook] Hyperlinks in PDF indexes
Title: Message

Hey 
Bob,

 

I gave 
up on FOP many moons ago,  it just seem to lag way behind.  Is that 
still the case?

 

Jeff

  

  
-----Original Message-----
From: Bob Stayton 
  [mailto:] 
Sent: Friday, June 03, 2005 4:29 
  AM
To: 
Cc: 
  
Subject: Re: [docbook] Hyperlinks in 
  PDF indexes

  
This is a bug in FOP.  Here is what 
  the FO link looks like:

  
 

  
<fo:block>my entry, 

  
  <fo:basic-link 
  internal-destination="id428223">

  
    
  <fo:page-number-citation ref-id="id428223"/>

  
  
</fo:basic-link>

  
</fo:block>

  
 

  
The link text is an empty 
  <fo:page-number-citation> element whose content is generated by the 
  XSL-FO engine.  But FOP doesn't make it a link.  If you put any 
  actual text inside the fo:basic-link element, it will form the link on the 
  text you add, but the page number is still dead.

  
 

  
 

  
Bob Stayton
Sagehill Enterprises
DocBook Consulting


  
 

  
 

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

    
From: 
    Peter Robertson 

    
To: 'Bob Stayton' 

    
Sent: Friday, June 03, 2005 12:36 
    AM

    
Subject: RE: [docbook] Hyperlinks in 
    PDF indexes

    

    
Thanks for the reply.

    
 

    
The page numbers are dead; ther are no hyperlinks 
    anywhere. Do I have to enable these links in some magic 
    way?

    
I have found no documentation about this 
    anywhere.

    
 

    
I am generating the PDF using Oxygex with Saxon6.5.3 
    and the Apache FOP.

    
 

    
Peter

    
 

    
      

      
      From: Bob Stayton 
      [mailto:] 
Sent: 03 June 2005 
      08:11
To: ; 
      
Subject: Re: [docbook] Hyperlinks 
      in PDF indexes

      

      
Try clicking on the page 
      numbers.  They should link to the correct page.  The text of an 
      indexterm is not a hot link because it can have many page 
      references.

      
 

      
Bob Stayton
Sagehill Enterprises
DocBook Consulting


      
 

      
 

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

        
From: 
        Peter Robertson 

        
To:  
        

        
Sent: Thursday, June 02, 2005 3:21 
        PM

        
Subject: [docbook] Hyperlinks in 
        PDF indexes

        

Is it possible to generate a PDF file using docbook where 
        the
index items are hyperlinks?

I have a large document that 
        needs to be both printable and readable
on-line (hence PDF). An index 
        that simply gives page numbers is not
very convenient 
        on-line.

        

        
          
          

             has notified the sender that this message 
              has been received.

        

    

    
      
      

         has notified the sender that this message has 
          been received.