Quote:
Originally Posted by mjcatt
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