Jean-Yves B. wrote:
How to make DocBook refsections collapsible? Thanks.
We simply forgot to do it. Sorry for that. This is already fixed in next version.
Meanwhile, please replace the following files by the corresponding attached files:
<XXE_install_dir>/addon/config/docbook/css/refentry.imp <XXE_install_dir>/addon/config/docbook5/css/docbook5.impFYI, the differences between the original CSS files and attached, improved, CSS files are:
diff refentry.imp.OLD refentry.imp --- 81a82,83 > collapsible: yes; > not-collapsible-head: 1; 92a95,116 > } > > refsect1 > title:first-child:before, > refsect2 > title:first-child:before, > refsect3 > title:first-child:before, > refsection > title:first-child:before { > content: collapserex() " "; > } > > refsect1info:first-child, > refsect2info:first-child, > refsect3info:first-child, > refsectioninfo:first-child { > margin-left: 20px; > } > > refsect1info:first-child:before, > refsect2info:first-child:before, > refsect3info:first-child:before, > refsectioninfo:first-child:before { > content: collapserex(); > display: marker; --- diff docbook5.imp.OLD docbook5.imp --- 278a279,282 > refsection > info:first-child, > refsect1 > info:first-child, > refsect2 > info:first-child, > refsect3 > info:first-child, 298a303,306 > refsection > info:first-child:before, > refsect1 > info:first-child:before, > refsect2 > info:first-child:before, > refsect3 > info:first-child:before, --- Proprietary CSS extension "collapsible: yes" is documented here:11. Collapsible blocks and tables, http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/collapsible_blocks.html
refentry.imp
Description: application/vnd.accpac.simply.imp
docbook5.imp
Description: application/vnd.accpac.simply.imp
-- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support