Quote:
Originally Posted by meme
Interesting. Since Generate TOC points to the filename for headings near the top of a file it does not actually use the id in the TOC.
So there is no reason why we can't skip creating a Sigil-generating id for the heading if its not used by the TOC because its at the top of the file. We already skip creating an id if a heading is marked as not included in the TOC.
And if you do want an id for the heading, you can always manually enter one. Its only the Sigil-generated ids that get removed when they aren't used.
|
Consistancy!
If you use id's, then use them all places.
I know I
when my REGEX fails to find some headings, only to discover some have a different orginazation: IN THE SAME BOOK.
And since some folk like to 'Max out' file size before splitting: some will have many chapters, not just one