Thread: Editing toc
View Single Post
Old 10-12-2012, 08:22 AM   #2
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,228
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Yes you could have just edited the toc.ncx file. If you look closely (try it with a new "test" page book, containing only an h1 and an h2) you will see there is some fairly simple nesting of the <navpoint> elements. Just a case of "cutting" those nested <navpoint>...</navpoint> elements out to paste them after the parent's closing </navpoint> so that they are all at the same top level.

We hope to have a GUI for doing this in a future release.
kiwidude is offline   Reply With Quote