View Single Post
Old 09-25-2014, 03:25 AM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
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
roger64 is offline   Reply With Quote