That's it.
It's all about tricking sigil to add incremental ids to new h3 tags
I did not invent that 2014 recipe, I just used it. Doitsu was the author I think
I should also have added, that after creating all temporary h2 lines, I used calibre with structure detect to split the book into lots of html files, one per chapter.
Only then do I regenerate toc in sigil.
|