Jirka Kosek wrote:
> 
> it seems that current DocBook customization has problems with collapsing
> section that contain comment before title (see attachement). If you try
> to collapse section B, collapsing mark will disappear and it is no more
> possible to expand section back.
> 
> I was unable to figure whether this is bug in DocBook CSS or in XXE
> general collapsing capabilities. Any hint will be appreciated.
> 

You may call it a bug but in fact it is more a limitation.

The CSS style sheet specifies this:

section {
     collapsible: yes;
     not-collapsible-head: 1;
}

and all in all, it works as specified. In your case the comment  being 
the first block contained in the section, it is just the comment block, 
and not the comment block *and* the title block containing the 
collapser, which is kept visible when the section is collapsed.

We'll *try* to improve the situation in next release but I'm pessimistic.

Workarounds:

[1] I always have the "A sample customize.xxe" add-on installed (see 
http://www.xmlmind.com/xmleditor/addons.shtml). Therefore suffice for me 
(a) to click anywhere in the comment, (b) to press "Esc /" to expand the 
section.

[2] In all cases, View|Redraw (Ctrl-L) will expand all collapsed blocks.





Reply via email to