View Single Post
Old 12-22-2013, 12:18 AM   #9
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by kovidgoyal View Post
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.
eschwartz is offline   Reply With Quote