Bernd Kuemmerlen wrote: > > There seems to be a small problem though when you try to collapse the > root element, for example in a chapter document (which is to be part of > a bigger document): When collapsing the <chapter>, the whole chapter > vanishes together with the chapter title, leaving no possibility to > re-expand the chapter. This does not happen when the chapter is not the > root element (the same applies to sections and appendices as root element)
I don't know how to reproduce exactly the behavior you describe. I used File | New... then selected DocBook | Chapter (part of a master document) and everything works fine. I can reproduce a behavior *close* to the one you describe if I add a chapterinfo before the title of the chapter. In this configuration, you must modify the DocBook style sheet to tune it to your needs. For example, you can do one of these 3 things: * add the collapse button inside a (always present) child of the chapterinfo. * OR add the collapse button to a generated content of the chapterinfo. * OR add the title of the chapter inside the chapterinfo rather than after the chapterinfo. If this diagnostic is wrong, do not hesitate to send me one of your DocBook chapter or section document for which this problem happens. PS: When this problem happens to you, use to Style menu to reload the same style sheet and all the blocks will be expanded again.

