![]() |
Superscript in titles
I'm working on a book with many superscripts in the titles. If I create the code as follows
<h3>TITLE<sup><a href="#sdfootnote24sym" id="sdfootnote24anc">24</a></sup></h3> the book view looks perfecly but the TOC shows: TITLE24 If I change the code to <h3>TITLE</h3> <sup><a href="#sdfootnote24sym" id="sdfootnote24anc">24</a></sup> the TOC is perfect, but the book view looks stupid (superscript on next line). Does anyone has a suggestion? Thanks! |
I don't think you'll ever be able to get text display as superscript in the TOC. Not because of Sigil, but because I doubt you can express a superscript in the NCX file. The NCX doctype is, well, "ncx". It's not HTML. I doubt there's a "<sup>" tag (I could be wrong).
What I would do is this: Code:
<h3 title="TITLE^24">TITLE<sup><a href="#sdfootnote24sym" id="sdfootnote24anc">24</a></sup></h3> |
Quote:
|
If the NCX allows unicode, then you could fake it by using superscript characters directly:
Code:
TitleČ⁴ |
Quote:
Code:
<h3 title="TitleČ⁴"> |
But if the "24" is just a note call, I don't think anyone would want it showing in the TOC.
And using Unicode is not always a solution. It does not work if you have "M<sup>lle</sup>" or "3.<sup>er</sup>" in your titles (although in these cases, rendering the superscripts as normal text is an acceptable solution). |
| All times are GMT -4. The time now is 06:35 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.