Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 07-29-2014, 06:26 PM   #1
carlsbad
Junior Member
carlsbad began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2014
Device: nook
Superscript issues

Hello,

Newbie question. We are converting an Indesign book to epub. Mostly it is going fine. We ran into an issue with superscripts.

They are riding above the font which when that occurs makes our line spacing larger for just that line.

What is the best solution? I thought about increasing our line spacing as a last resort. There must be a better way...?

Mark
carlsbad is offline   Reply With Quote
Old 07-29-2014, 07:06 PM   #2
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
I use the following in the stylesheet:


sup {
font-size: 0.6em;
vertical-align: top;
letter-spacing: 1px;
font-weight: bold;
}

BUT this sort of superscript has issues. One is the layout one which you have encountered. Another is that this sort of small script is hard to click upon if you intend it to be a link to a footnote or endnote, if you are using a tablet/phone. It is hard to see if the user has set a smaller font size. In this case, the older the better, as my PRS-300 will jump easily and precisely to these links one after another.

[1] is an unbeautiful way to solve the practical problem of being big enough to click on.

If you intend it to be exactly like the printed book, you better abandon all hope. All it takes is a user, perhaps a limited vision person, pushing the size button to destroy your beautiful layout.

You might export what you have done to your Nook and see what you get with a real device.

Last edited by mrmikel; 07-29-2014 at 07:11 PM.
mrmikel is offline   Reply With Quote
Advert
Old 07-29-2014, 10:04 PM   #3
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by mrmikel View Post
I use the following in the stylesheet:


sup {
font-size: 0.6em;
vertical-align: top;
letter-spacing: 1px;
font-weight: bold;
}

BUT this sort of superscript has issues. One is the layout one which you have encountered. Another is that this sort of small script is hard to click upon if you intend it to be a link to a footnote or endnote, if you are using a tablet/phone. It is hard to see if the user has set a smaller font size. In this case, the older the better, as my PRS-300 will jump easily and precisely to these links one after another.

[1] is an unbeautiful way to solve the practical problem of being big enough to click on.

If you intend it to be exactly like the printed book, you better abandon all hope. All it takes is a user, perhaps a limited vision person, pushing the size button to destroy your beautiful layout.

You might export what you have done to your Nook and see what you get with a real device.
Not to mention, vertical-align is not widely supported.

Hitch
Hitch is offline   Reply With Quote
Old 07-30-2014, 03:20 AM   #4
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,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Just adding "line-height: 0;" should be enough to avoid the increased line spacing (but it could cause overlaps, depending on the font and line spacing).
Jellby is offline   Reply With Quote
Reply

Tags
epub conversion errors, superscript


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Line breaking before superscript rhino79 Sigil 6 05-13-2013 02:20 PM
Superscript widow's Themus ePub 2 10-02-2012 06:17 AM
Superscript best practices? DiapDealer ePub 19 04-14-2012 04:28 PM
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 08:53 PM.


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