Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-31-2023, 01:26 PM   #16
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,468
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 JSWolf View Post
By the way, why is this thread in Sigil when it's talking about Kindle eBooks? It should be in Kindle Formats forum (IMHO).
It wasn't. It was discussing the coding, initially and then I asked if he was using it also for Kindles. Because Amazon has their own thing going on there.

That's not the same thing and I see no reason for it to move, really.

Hitch
Hitch is offline   Reply With Quote
Old 03-31-2023, 01:43 PM   #17
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 75,172
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Hitch View Post
Yes, which is what I mentioned earlier. When it's rendered, the lines will be taller, period.

Just...either switch to bracketed entries, eg. [1], or just live with it. You really can't force a device to NOT leave enough room for the tallest or longest letter, in a font family, after all, now can you? :-)

Hitch
You can. ePub allows you to (sometimes) set a line height too small so lines overlap.
JSWolf is offline   Reply With Quote
Old 03-31-2023, 01:45 PM   #18
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 75,172
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
When a publisher uses a large first letter of the first paragraph at the start of a chapter and/or section break, it makes that line have more space between it and the next line. There is no code in the CSS or HTML that can fix it.
JSWolf is offline   Reply With Quote
Old 03-31-2023, 01:46 PM   #19
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,468
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 JSWolf View Post
You can. ePub allows you to (sometimes) set a line height too small so lines overlap.
Jon, dearest,

Yes, but not at KDP. They simply do not wish to allow it and given the fungibility of the text/fonts, you can see why not.

Hitch
Hitch is offline   Reply With Quote
Old 03-31-2023, 02:16 PM   #20
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,708
Karma: 196949708
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by JSWolf View Post
But this is about the code for use on a Kindle. Not about how to use Sigil. If I was asking about this same issue using a different editor, I'd still put it in the Kindle Formats forum.
You're not the decider. There's always going to be some overlap between Sigil, EPUB and KindleBooks (where EPUBs are used as Kindlebook source code).

You get to report items you think should be moved (behind the scenes with the built-in report button). We'll either move it or we won't. Either way, your part of the process is then over. You don't get to post in the thread about why something's in the wrong place.

Last edited by DiapDealer; 03-31-2023 at 02:21 PM.
DiapDealer is offline   Reply With Quote
Old 03-31-2023, 02:21 PM   #21
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 75,172
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Hitch View Post
Jon, dearest,

Yes, but not at KDP. They simply do not wish to allow it and given the fungibility of the text/fonts, you can see why not.

Hitch
Then how come some publishers get away with the large first letter?
JSWolf is offline   Reply With Quote
Old 03-31-2023, 04:04 PM   #22
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,468
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 JSWolf View Post
Then how come some publishers get away with the large first letter?
Well, if they're like us, perhaps they figured out how to do a Dropcap, and make it work. I put in money, and sweat, coming up with coding (that would work on a Paperwhite, even with the dreaded "Publisher Font" issue).

OR, they're just using BFLs--big first letters, not drop caps--that don't really affect anything, because there isn't a line of text above it. [shrug}. That could easily be it. A BFL has a different effect, because it's from the baseline UP, not both directions in a 2em or 3em sizing (like a dropcap).

Dunno. I know that "Kindle Create" features a dropcap, but I haven't tried it and tested it to see what happens post-rendering.

Hitch
Hitch is offline   Reply With Quote
Old 03-31-2023, 04:06 PM   #23
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 75,172
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Hitch View Post
Well, if they're like us, perhaps they figured out how to do a Dropcap, and make it work. I put in money, and sweat, coming up with coding (that would work on a Paperwhite, even with the dreaded "Publisher Font" issue).

OR, they're just using BFLs--big first letters, not drop caps--that don't really affect anything, because there isn't a line of text above it. [shrug}. That could easily be it. A BFL has a different effect, because it's from the baseline UP, not both directions in a 2em or 3em sizing (like a dropcap).

Dunno. I know that "Kindle Create" features a dropcap, but I haven't tried it and tested it to see what happens post-rendering.

Hitch
Yes, it is BFL. It effects the space below that line and the next line.
JSWolf is offline   Reply With Quote
Old 03-31-2023, 07:37 PM   #24
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by ebookscovers View Post
maybe the best thing going forward is to avoid using superscripts and just write 21st as is??
Yes, for readability/accessibility—and avoiding all these line-height problems too!—that's exactly what I do.

So instead of:

Code:
<p>In the 21<sup>st</sup> century, this happened.</p>
use this:

Code:
<p>In the 21st century, this happened.</p>
- - -

Side Note: Word defaulting to "superscript ordinals" (st + nd + rd) is one of the worst settings there is.

It's one of the first things I disable + instantly correct whenever I see it inside documents.

- - -

Side Note #2: Like Hitch said, for footnote numbers, we recommend NOT using superscripted numbers:

Code:
<p>In the 21st century.<sup>99</sup></p>
but instead use bracketed numbers:

Code:
<p>In the 21st century.[99]</p>
For more info on that, see:

and even my old post from 2013 which explains why brackets in ebooks are better than superscript notes:

(The same logic still applies all these years later.)

- - -

Side Note #3: One of the only few places I can see <sup> needing to be used is languages that have a:
  • superior letter
    • French 'e'
  • ordinal indicator
    • Spanish/Portuguese 'ª' + 'º'

For more info on that, see my post here:

Last edited by Tex2002ans; 03-31-2023 at 07:53 PM.
Tex2002ans is offline   Reply With Quote
Old 04-01-2023, 10:23 AM   #25
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,468
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 JSWolf View Post
Yes, it is BFL. It effects the space below that line and the next line.
Yes, but it's different than a Dropcap, which affects both the above and below lines.

Hitch
Hitch is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS line height vs Kobo line spacing slider? bongoman Kobo Reader 2 07-12-2020 01:25 PM
Line Spacing Francois Driesen Calibre 2 08-22-2014 02:21 PM
Line breaking before superscript rhino79 Sigil 6 05-13-2013 02:20 PM
Line Spacing in Sigil? markjoseph Sigil 12 03-30-2012 11:31 PM
Line spacing Ivo Kobo Reader 3 06-30-2010 12:54 PM


All times are GMT -4. The time now is 04:03 AM.


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