View Single Post
Old 01-11-2014, 11:47 PM   #2
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,106
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 bobcdy View Post
With earlier versions of Sigil I often used the title in my headings, such as

<h3 id="head_5" title="Chapter I. This is the Title">Chapter I.</h3>

then in ADE the internal toc would show

Chapter I. This is the Title

and the text page would show

Chapter I.

With v 0.7.4 this tag does not seem to work. The ADE internal toc shows Chapter I. just as does the text page. I compared tags from my earlier epubs with those I create in 0.7.4 and there seems no difference except the earlier epubs don't have a problem with titles in the heading tags. Is there a bug in Sigil 0.7.4 or is there something that I'm doing incorrectly in the newest version? Perhaps I've always misused the title but earlier Sigils just tolerated the error?
It really works
I just recently built one from 2 lines via the magic of REGEX

<h3 class="chapno">Chapter 1</h3>\s+
<p class="subtitle">Subtitle for chapter 1</p>

<h3 class="chapno" title="\1: \2">\1</h3><p class="subtitle">\2</p>

Did you remember to regenerate your NCX ?
theducks is offline   Reply With Quote