Re: [docbook-apps] initial pdf view with index side pane

From
Bob Stayton <>
Date
2013-09-19T17:18:23+00:00
ID
56D1CEEB6F59416DBB751509FC1EB2CB@totoro
Thread
Re: [docbook-apps] initial pdf view with index side pane
Just for comparison, I checked the Antenna House and XEP 
documentation regarding PDF options, and neither of them seem to have an option 
for hiding or displaying the bookmarks pane.  I cannot find it in the FOP 
doc either.  I guess the next question is whether the PDF standard even 
supports control of the bookmarks pane.

 

Bob Stayton
Sagehill Enterprises


From: Richard Henwood 

Sent: Thursday, September 19, 2013 7:33 AM

To: Wood Nick ;  

Subject: Re: [docbook-apps] initial pdf view with index side 
pane

I 
have set fop1.extensions to 1. I believe this just generates the TOC information 
and doesn't set the initial view to present the TOC in a left-hand pane... 
However, I am aware there are a bunch of setting local to my pdf render that may 
be fiddling with the initial presentation.

r,

From: Wood 
Nick <>
To: "" 
<>; 
Richard Henwood <> 
Sent: Thursday, 19 September 2013, 
2:03
Subject: RE: 
[docbook-apps] initial pdf view with index side pane

Richard, 

 

Have you set the param fop1.extensions 
to 1, this works for me.

 

Nick

  
  

    
      

    
      
Nick Wood 
      BSc(Hons) MInstLM

      
NATO Communications 
      and Information Agency

      
Chief Document 
      Engineering and Production Section

      
Thier Mathias 
      1b, B-4690 Bassenge (Glons), Belgium

      
T: +32 42 
      899215  F: +32 2 707 8770

      
E:   W: 
      www.ncia.nato.int

 

 

 

 

From: Bob 
Stayton [mailto:] 
Sent: Wednesday, September 18, 
2013 11:40 PM
To: Richard Henwood; 

Subject: Re: [docbook-apps] initial 
pdf view with index side pane

 

This would be a 
feature of your XSL-FO processor that generates the PDF.   If you are 
using FOP, you need to look at FOP's PDF output configuration, and see  if 
FOP has such a setting.  There is no way to do it in DocBook 
XSL.

 

Bob 
Stayton
Sagehill Enterprises


 

From: Richard Henwood 

Sent: 
Wednesday, September 18, 2013 2:02 PM

To: Bob Stayton ;  

Subject: Re: 
[docbook-apps] initial pdf view with index side 
pane

 

Hi Bob,

What I 
want is when my viewer opens the PDF (I generated from Docbook) for the first 
time, it presents the user with the table of contents (the 'index' according to 
evince) in a panel on the left hand side.

This gives the user an overview 
of the document; without this appearing on initial view, a user may not know it 
exists.

Something like this: http://blog.rockymountaintraining.com/?p=383

r,

 

 

From: Bob Stayton <>
To: 
Richard Henwood <>;  

Sent: Wednesday, 18 September 2013, 15:00
Subject: Re: 
[docbook-apps] initial pdf view with index side pane

 

Hi Richard,

Do you mean you want to replace the 
PDF bookmarks with a back-of-the-book index in the left pane?

 

Bob Stayton
Sagehill Enterprises


 

From: Richard Henwood 

Sent: Wednesday, September 18, 2013 12:16 
PM

To:  

Subject: [docbook-apps] initial pdf view with 
index side pane

 

Hi All,

Is there a switch I can throw to force the 
PDF that is generated to default to displaying the index as a (left-hand) side 
bar?

The best I could find from my searching was: http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPdf but I 
am unsure how to interpret this page. Any help would be gratefully 
appreciated!

cheers,
Richard