View Single Post
Old 08-28-2019, 07:09 PM   #4
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
Quote:
Originally Posted by mjcatt View Post
If I use 'Generate TOC from all headers' it picks up the text between <h1></h1>, not the text in the title attribute. So for my example, what ends up going into the TOC is 'Text that goes into book itself'.

What I have noticed is that it will use the title attribute text only if there is no text between <h1></h1>. For example:

<h1 title='Attribute Text'></h1> puts 'Attribute Text' in the TOC, but:
<h1>title='Attribute text'>Book Text</h1> puts 'Book Text' into the TOC.
I wonder if I have a setting wrong somewhere...
It may be those Single Quotes, because I have generated a title="chapter # and name" many times. I did this with Sigil
theducks is offline   Reply With Quote