OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
bobs@sagehill.net


----- Original Message ----- 
From: "John Green" <jmg7439@rogers.com>
To: <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]