Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-08-2013, 01:54 AM   #1
rhino79
Member
rhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheese
 
Posts: 18
Karma: 1210
Join Date: Apr 2013
Device: Nexus 7
Line breaking before superscript

How do you prevent a line break before a superscript?

I've noticed that

text with a footnote.<sup>1</sup>

sometimes breaks before the <sup> if there is no more room, which results in an awkward superscript by itself on the next line.
rhino79 is offline   Reply With Quote
Old 05-08-2013, 03:25 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Typically, you don't. That's the renderer doing a sloppy job and you should report it as a bug instead.

But if you really want to work around this, I guess the proper form would be to add a "word joiner" character in between (U+2060, & #8288; without the space between & and #). However, depending on the font and renderer you may see a square or a question mark instead...
Jellby is offline   Reply With Quote
Old 05-08-2013, 11:05 AM   #3
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
For what it is worth, it does not have a problem in the Sony Reader Library.
mrmikel is offline   Reply With Quote
Old 05-08-2013, 02:05 PM   #4
jbacelar
Interested in the matter
jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.
 
jbacelar's Avatar
 
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
With <sup>, or <span>, in ADE 2.0 nothing works. (& #288; & nbsp; nowrap)
jbacelar is offline   Reply With Quote
Old 05-13-2013, 08:22 AM   #5
BrisChri
Junior Member
BrisChri began at the beginning.
 
BrisChri's Avatar
 
Posts: 6
Karma: 10
Join Date: May 2013
Location: Brussels, Belgium
Device: Arnova 10
Quote:
Originally Posted by rhino79 View Post
text with a footnote.<sup>1</sup>
Why do you put the dot between "footnote" and <sup> ?

Try "text with a footnote&nbsp;<sup>1</sup>."
BrisChri is offline   Reply With Quote
Old 05-13-2013, 08:48 AM   #6
rhino79
Member
rhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheeserhino79 can extract oil from cheese
 
Posts: 18
Karma: 1210
Join Date: Apr 2013
Device: Nexus 7
The "dot" is a period at the end of a sentence. Footnote numbers are placed after the period.
rhino79 is offline   Reply With Quote
Old 05-13-2013, 02:20 PM   #7
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by rhino79 View Post
Footnote numbers are placed after the period.
That depends on the language and typographical style choices (and context).
Jellby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Superscript widow's Themus ePub 2 10-02-2012 06:17 AM
Superscript best practices? DiapDealer ePub 19 04-14-2012 04:28 PM
html/ePub to mobi superscript problem DarkElf Conversion 1 08-23-2011 11:18 AM
Superscript and Subscript ramjet1953 Sigil 1 06-13-2010 07:15 AM
Superscript in titles paulpeer Sigil 5 01-20-2010 08:37 AM


All times are GMT -4. The time now is 07:35 PM.


MobileRead.com is a privately owned, operated and funded community.