Quote:
Originally Posted by kovidgoyal
I can see doing that if the <h1> has no text content, otherwise, why?
|
In case someone edits the ToC while it's being generated, Sigil saves any changes as a title attribute so it persists next time someone hits generate ToC. Sometimes people don't want the exact text in the chapter heading to be used. I use it if there is an Also By page, it says "Also By {author}" but I just want the ToC to say "Also By". In a similar vein, the class "sigil_not_in_toc" is added to any header tag that has been deleted from the ToC. See screenshot -- if you uncheck "include", this element gets left off and the "sigil_not_in_toc" class is added. And Sigil will ignore it next time around. (Must use with care, since if you later decide to include it, you must manually edit to remove.)
Sigil likes to remember any tweaks in the Generate ToC process so as to save you the bother next time. I think it's nice.
And I checked it out, Sigil does NOT read the alt tag when generating the ToC.