Quote:
Originally Posted by JSWolf
You do not need #toc_1" because all it does is slow down using the ToC. With the unnecessary ID, the code has to load the chapter and then find the ID before displaying the chapter instead of just loading and displaying the chapter.
|
Those IDs were autogenerated during the calibre ToC generation, and correct me if I'm wrong, but I think having IDs makes the index more "resilient", right? I think the alternative are file positions, which may cause problems if the file is edited later.
Quote:
|
Also, it would be easier to find what's in what file if you renamed your files. So if Section0004.xhtml is chapter one, name it chapter01.xhtml.
|
Sadly the text was all in a single xhtml file, I'd rather it had coherent divisions, but it's not so (I then split it in 2 parts for size reasons but it doesn't matter here).