View Single Post
Old Yesterday, 07:08 AM   #24
jd1004
Enthusiast
jd1004 began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2025
Device: none
Quote:
Originally Posted by KevinH View Post
@jd1004, did you try the pre-release of Sigil 2.8.7 build I posted a link to that incudes your improvement request for the TOC Window to remember what is collapsed over a save?

Please do test it and report back.
@KevinH: Yes, the expanded / collapsed entries in the TOC are remembered now after a save. Thanks!

Compared to Sigil version 2.8.0, the NCX has an extra blank line now. Since the NCX is generated by "Edit Table Of Contents" => "OK" and does not have any blank lines in 2.8.0, I'm not sure that was intentional:

OLD:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN"
 "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd"><ncx version="2005-1" xmlns="http://www.daisy.org/z3986/2005/ncx/">
NEW:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN"
   "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd">

<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1">
jd1004 is offline   Reply With Quote