Re: [docbook-apps] Re: double.sided Parameter Problem

From
Bob Stayton <>
Date
2009-11-24T17:25:36+00:00
ID
00f301ca6d2b$19129530$0b00a8c0@pazu
Thread
Re: [docbook-apps] Re: double.sided Parameter Problem
Hi,
There ought to be a separate parameter for turning off PDF bookmarks, 
regardless of the XSL-FO processor.  Currently there is not, but a short 
workaround should suffice for your purposes.  If you add this template to 
your stylesheet customization layer:

<xsl:template match="*" mode="fop1.outline"/>

To generate the PDF bookmarks, the stylesheet processes the book in 
mode="fop1.outline". This template is empty, so not outline is generated in 
that mode.  That will turn off bookmarks, and
you can still set fop1.extensions = 1.

Bob Stayton
Sagehill Enterprises



----- Original Message ----- 
From: "John Green" <>
To: <>
Sent: Tuesday, November 24, 2009 9:12 AM
Subject: [docbook-apps] Re: double.sided Parameter Problem


>>Lily Galle <lily.galle <at> gmx.net> writes:
>>
>>Dear all,
>>
>><snip>
>>
>>With the “Xalan” Transformer I get the following error description if 
>>I set
>>the “double.sided” parameter to “1”:
>>
>><snip>
>>
>>java.lang.IllegalStateException: Flow 'xsl-region-body' does not map to 
>>the
>>region-body in page-master 'blank'. FOP presently does not support this.
>>
>><snip>
>
>John Brown replies:
>If I recall correctly, you will get this error if you use FOP and forget to 
>set
>fop1.extensions = 1.

What if you want double-sided output and no bookmarks in the PDF? You need 
double.sided=1 and fop1.extensions=0.


Thanks
John

-- 
John Green

"It's no wonder that truth is stranger than fiction. Fiction has to make 
sense." - Mark Twain





---------------------------------------------------------------------
To unsubscribe, e-mail: 
For additional commands, e-mail: