Thanks, Bob, for the prompt reply. This workaround seems to do what I need.

Thanks
John

-- 
John Green

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



----- "Bob Stayton" <[email protected]> wrote:

> 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
> [email protected]
> 
> 
> ----- Original Message ----- 
> From: "John Green" <[email protected]>
> To: <[email protected]>
> 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: [email protected]
> For additional commands, e-mail:
> [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to