View Single Post
Old 08-03-2018, 09:52 PM   #1
ghmerrill
Connoisseur
ghmerrill began at the beginning.
 
ghmerrill's Avatar
 
Posts: 72
Karma: 10
Join Date: Mar 2017
Location: Central NC
Device: Various
CSS heading counters & TOC?

I'm using CSS counters in my heading tags to auto-generate chapter and section numbers that are prepended to the heading text (currently just for h2 and h3 headings). It all works perfectly well in the html pages, but the numbers don't appear in the TOC.

At this point, I'm assuming that Sigil just doesn't handle this degree of complexity in the use of CSS. But is there something I'm missing?

Is the only way to get the numbers into the TOC to put them there manually (and hence update them every time a new TOC is generated)?

Thanks for any insight.
ghmerrill is offline   Reply With Quote