About navpoints and their ids
Hi
Sometimes we have to rebuild the toc.ncx file and replace the existing one. The Calibre editor does it very well.
I remarked that all the newly created navpoints ids coming from the Calibre editor use uuids, instead of a "natural" incremental value (like text1, text2, etc.).
I would have better limit the use of uuid exclusively to the book identifier because it's a very unfriendly qualifier and not for such common things like navpoints ids. However, when I looked how to replace these uuids with incremental values, I realized that it seemed a complicated thing to do, either using CSS or worse even regexes, which may explain Kovid Goyal's choice.
Has somebody found a simple way to insert incremental values in EPUB (for navpoints ids or for some other use?). If I use Sigil 6.2 to rebuild the toc.ncx file, I will obtain incremental values for navpoints ids (navpoint-1; etc.) so there should be a way?
Last edited by roger64; 09-25-2014 at 03:59 AM.
Reason: sigil
|