Quote:
Originally Posted by Karellen
Yes, a single header does not need an ID, but subsequent headers in the same xhtml file will need one.
I think @stumped is under the mistaken idea that the TOC needs ID's to work, which is not the case for a single header, as far as I understand it.
|
Nol it's that I need sequential tocds so that I can rexex the numbers into my headers.
I see no other way to generate chapter numbers across 144 files. My example has 144 chapters, too many to number them manually
E.g. find <h2 toc_id(\d+) >placeholder
Replace <h2 > \1