@AlanHK
Quote:
"So presumably you meant "add the text of the h1, h2 headings", not the h1, h2 heading tags. "
|
In Sigil, if you open either the
Tools > Table of Contents > Create TOC pop-up window then, if you want to capitalize, change text or add text to the displayed headings then all you have to do is just double click on any selected heading on the left and you can directly edit the text how you like. You can do that to all displayed headings but, as I've already mentioned, you cannot add html to those changes because it only allows text edits, not edits using html mark-up.
And I'm not sure whether you actually realize it but, due to a fairly recent Sigil change, you now have two ways to specifically edit the NCX TOC in Sigil. You can edit the TOC in the normal way using
Tools > Table of Contents > Generate TOC and when you press "OK"
this feature always creates an NCX TOC from scratch. But you can also now directly edit the existing NCX TOC(in the toc.ncx) by just clicking on
Tools > Table of Contents > Edit TOC. And again this feature also allows you to directly change/edit heading text only(not html) and add indents. And when you click "OK"
it automatically updates all your heading changes in the toc.ncx file.