View Single Post
Old 07-25-2023, 05:24 AM   #10
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,639
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by stumped View Post
find
/h2>
replace
/h2><h3>xChapter </h3>
..
then regenerate TOC
then remove H2
..
find
<h2 class="calibre7">xchapter</h2>
replace blank

the book code will now have incremental sigil id tags, one per chapter
I have to admit that I don't really understand what is happening here.
You add a h2 tag, then you add a h3 tag, then you delete the h2 tag.
What is the reason for adding <h2> and <h3> tags together? Why don't you add the h3 tag at step 1 if that is what you are wanting?
Karellen is offline   Reply With Quote