Well, instead of trying to get blank lines inserted, I went with collapsible menus. Of course, only Adobe Digital Editions seems to show collapsible menus, but the regular blank lines show up in the Sony eBook Library or FBReader. I used Jellby's Epub version of Sylvie and Bruno for my example. Basically, you just move the </navPoint> for the Book to the end of the Chapter so the menu becomes collapsible in the toc.ncx file.
Non collapsible menu
Title Page
Book 1
Chapter 1
<navMap>
<navPoint id="titlepage" playOrder="1">
<navLabel>
<text>Title Page</text>
</navLabel>
<content src="title_page.xhtml"/>
</navPoint>
<navPoint id="Book01" playOrder="2">
<navLabel>
<text>Book 1</text>
</navLabel>
<content src="book01.xhtml"/>
</navPoint> <-----------------------------Move this
<navPoint id="chapter01" playOrder="3">
<navLabel>
<text>Chapter 1</text>
</navLabel>
<content src="chap01.xhtml"/>
</navPoint>
</navMap>
</ncx>
Collapsible menu
Title Page
+Book 1
Chapter 1
<navMap>
<navPoint id="titlepage" playOrder="1">
<navLabel>
<text>Title Page</text>
</navLabel>
<content src="title_page.xhtml"/>
</navPoint>
<navPoint id="Book01" playOrder="2">
<navLabel>
<text>Book 1</text>
</navLabel>
<content src="book01.xhtml"/>
<navPoint id="chapter01" playOrder="3">
<navLabel>
<text>Chapter 1</text>
</navLabel>
<content src="chap01.xhtml"/>
</navPoint>
</navPoint> <------------------To here, at the end of the Chapters
</navMap>
</ncx>
|