View Single Post
Old 12-04-2014, 06:17 PM   #18
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by Hitch View Post
Is there some reason you're not just using an empty header, with the alt attribute used to create a matching NCX/TOC item in Sigil? Instead of all the hidden this and that? is it because you don't want to repeat the text, in terms of the work, or...?
Because I'm incredibly stupid, that's why -- seriously, I honestly can't believe that never occurred to me! I haven't tested it out in ADE or iBooks yet, but just in Sigil it seems to have done the trick, and, as you say, is pretty much all I needed to do.

I really can't think of why that never occurred to me -- it seems so simple and obvious!

I do have on question, though, regarding that. I wanted all the various poems to show up in the ToC as they do in the original book, with curly quotes around them. Within the title attribute within the <h2> tag, is there any issues that anyone knows of with having curly quotes within the regular quotes for that title attribute? Like, this is kinda what I end up with (for example)...

<h2 class="hidhead" id="respectable" title="“The respectable folks”"></h2>

In the title attribute, I've got basically two sets of quotes -- one curly, one regular. Should I be using character entities instead there? Or is it fine like that?

Thanks, Hitch -- for making me feel so stupid! Seriously, thank you for that!
Psymon is offline   Reply With Quote