From gerd.von.egidy at intra2net.com Thu Apr 4 05:55:14 2019 From: gerd.von.egidy at intra2net.com (Gerd v. Egidy) Date: Thu, 04 Apr 2019 14:55:14 +0200 Subject: [xep-support] Contents pane entries opened/closed by default Message-ID: <6633973.r8zcYBFluu@thunder.m.i2n> Hi, we are using XEP as part of our toolchain to convert docbook content into PDF files. We were using XEP 3.8.4 before and recently switched to 4.28. While 4.28 is much better, especially when embedding svg files, there is one point where 3.8.4 was better: The PDFs created with 3.8.4 had all the subsection entries in the Contents- pane of the pdf closed by default. So you just saw the main parts of the document there. Opening the parts showed the capters, then you could open the sections and so on. See attached file xep-3.8.4.png for an example. This gave the reader a very good overview over the structure of the document. In 4.28 all available entries in the Contents pane of the PDF are opened by default. So in a bigger document, the reader sees just the first few chapters in the Contents-pane. This does not give a good overview of the structure of the document. See attached file xep-4.28.png for the same document as before, but rendered with XEP 4.28. I compared both PDFs in several different PDF viewers and all showed an identical behavior regarding the Contents pane. Is there any option, processing instruction or similar to let XEP 4.28 create Contents-panes with closed subsections? I want to get back the same behavior in this regard as in 3.8.4. Thanks. Kind regards, Gerd -------------- next part -------------- A non-text attachment was scrubbed... Name: xep-3.8.4.png Type: image/png Size: 141629 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xep-4.28.png Type: image/png Size: 235060 bytes Desc: not available URL: From bobs at sagehill.net Thu Apr 4 09:31:19 2019 From: bobs at sagehill.net (Bob Stayton) Date: Thu, 4 Apr 2019 09:31:19 -0700 Subject: [xep-support] Re: Contents pane entries opened/closed by default In-Reply-To: <6633973.r8zcYBFluu@thunder.m.i2n> References: <6633973.r8zcYBFluu@thunder.m.i2n> Message-ID: The XEP User's Guide explains this change of behavior here: http://www.renderx.com/reference.html#Bookmarks So setting the collapse-subtree property is required now. In DocBook XSL that would be done by customizing the bookmark templates in fo/xep.xsl. Bob Stayton Sagehill Enterprises bobs at sagehill.net On 4/4/2019 5:55 AM, Gerd v. Egidy wrote: > Hi, > > we are using XEP as part of our toolchain to convert docbook content into PDF > files. We were using XEP 3.8.4 before and recently switched to 4.28. While > 4.28 is much better, especially when embedding svg files, there is one point > where 3.8.4 was better: > > The PDFs created with 3.8.4 had all the subsection entries in the Contents- > pane of the pdf closed by default. So you just saw the main parts of the > document there. Opening the parts showed the capters, then you could open the > sections and so on. See attached file xep-3.8.4.png for an example. > > This gave the reader a very good overview over the structure of the document. > > In 4.28 all available entries in the Contents pane of the PDF are opened by > default. So in a bigger document, the reader sees just the first few chapters > in the Contents-pane. This does not give a good overview of the structure of > the document. See attached file xep-4.28.png for the same document as before, > but rendered with XEP 4.28. > > I compared both PDFs in several different PDF viewers and all showed an > identical behavior regarding the Contents pane. > > Is there any option, processing instruction or similar to let XEP 4.28 create > Contents-panes with closed subsections? > > I want to get back the same behavior in this regard as in 3.8.4. > > Thanks. > > Kind regards, > > Gerd > > _______________________________________________ > (*) 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: