Quote:
Originally Posted by stumped
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.
|
You can also use Sigil to split a really long file into smaller ones. Continuing with your current example:
Code:
Find:
<p class="textbreak"><span class="dropcap"><span><img src="../images/00003.jpeg" alt="" class="calibre7"/></span></span></p>
Replace:
<hr class="sigil_split_marker" />
<p class="textbreak"><span class="dropcap"><span><img src="../images/00003.jpeg" alt="" class="calibre7"/></span></span></p>
Select: edit, split at markers (F6)
Then continue with the steps I posted previously.