Quote:
Originally Posted by Doitsu
Shameless plug: You might find my Incremental IDs plugin helpful. You could use it to add sequential ids to all h2 headings and then use a regex search to add the numbers to the chapter titles.
If that sounds too complicated to you, you could also use the Function mode in Calibre Editor.
|
I've used this method several times.
Once you've added the ids to the <h2> then:
search: <h2 id="(\d*?)>Chapter</h2>
replace: <h2>Chapter \1</h2>