View Single Post
Old 12-22-2013, 10:20 AM   #15
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,109
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Kovid
Sigil's feature of using title="Alternate Title", WHEN PRESENT, seems reasonable
--
A chapter heading: Chapter 1
with a subheading (possibly with different CSS styling) on a second line: Lost in the Code
I have used so REGEX to construct the title="\1 : \2", which Sigil picked up in the TOC generation Chapter 1 : Lost in the Code

--

When using Image based titles. As you noted using alt= is probably not a great idea as there may be lots of other images that don't belong in the TOC but still have an alt=
Using the sometimes hidden: <h3 title="Chapter 1">&nbsp;</h3> is a easy workaround for a mixed methods book


In all case, my preference is towards helper tools rather than fully automatic features.

I frequently regenerate a TOC (until I get it just right! ). This may be why I lean towards using the single markup method
theducks is offline   Reply With Quote