[xep-support] Re: XEP and support of bookmarks.collapse parameter for PDF output

From: Bob Stayton <bobs@sagehill.net>
Date: Tue Jan 07 2014 - 08:59:53 PST

Hi David,
Indeed, it seems the person who implemented that feature was a FOP user,
and didn't consider the other XSL-FO processors. I'll apply your patch
for XEP. Thanks.

-- 
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
On 1/7/2014 3:13 AM, David Clunie wrote:
> Hi Bob et al
>
> I have been trying to get my PDF from Docbook bookmarks in a collpased
> state, and I noticed examining the "fop1.xsl" and "xep.xsl" stylesheets
> that the former contains handling for "bookmarks.collapse", and the
> latter does not.
>
> I customized the necessary template as in the attached file
> to follow the same pattern as used in fop1.xsl to set a "bookmarks.state"
> variable based on the "bookmarks.collapse" parameter, then used it to
> add a "starting-state" attribute to each of the "rx:bookmark" elements,
> and this seems to do the job.
>
> It would be nice to have this folded back into the a future release
> of the docbook-xsl stylesheets, since this seems generally useful.
>
> I am using docbook-xsl-1.78.1.
>
> David
>
>
!DSPAM:87,52cc329a9856672118431!
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Tue Jan 7 09:00:14 2014

This archive was generated by hypermail 2.1.8 : Tue Jan 07 2014 - 09:00:14 PST