![]() |
#1 |
Connoisseur
![]() Posts: 54
Karma: 10
Join Date: Mar 2014
Device: iPhone XR
|
Line numbers mutilated
I have a copy of The Iliad, translated by Richmond Lattimore. EPUB format. The text is in verse, and there are line numbers every five lines, as is somewhat common in works like this. The trouble is that once the line numbers reach three digits, they get cut off at the left margin. I've uploaded a screen shot. Those numbers are supposed to be 135, 140, 145, etc. Is there any way I can make this work, or is this book just poorly formatted? Thanks.
|
![]() |
![]() |
![]() |
#2 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,639
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,256
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can probably tweak the CSS of the book to fix it, but cant say how without seeing the actual book.
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,639
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I cannot see a way to fix it as the line numbers that do not start at the beginning of a paragraph will need to have lines split. That and large enough text will cause the line numbers to be wrong.
|
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,252
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You might try making the line number font-size smaller (~85%)
You may need to wrap them in a span, with appropriate CSS callout |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,639
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() Posts: 54
Karma: 10
Join Date: Mar 2014
Device: iPhone XR
|
I thought of just removing the line numbers, since I don't really care about them, but it looks like it would be one-at-a-time tedious work.
I tried tinkering with the CSS (at which I am NOT an expert) and I kept introducing other problems, so I gave up on that approach. |
![]() |
![]() |
![]() |
#8 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,252
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Why not. I don't have a sample of the file to play with.
I am assuming this is just a case of running out of space for the hanging indent. Years ago, I made my Body font 1.2em and a margin-right:16pt to give room for 3 digits of ADE # on my EZReader ![]() |
![]() |
![]() |
![]() |
#9 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,252
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
\.\d+\s |
|
![]() |
![]() |
![]() |
#10 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,639
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Looking at the screen grab from the OP's post, how would you put in 35 without splitting the paragraph?
|
![]() |
![]() |
![]() |
#11 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,252
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
![]() I suspect these are individual Paragraphs (and not just a normal wrapped line.) |
![]() |
![]() |
![]() |
#12 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,639
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
35 is not the start of a new paragraph. It's in the middle of a paragraph. |
|
![]() |
![]() |
![]() |
#13 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,252
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#14 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,639
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#15 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,277
Karma: 6700678
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Yea, you can see the line numbers are inline with the paragraph text, not a separate paragraph. There is a very slight indent to the text after the number.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Duplicate ID Error line numbers wrong | phossler | Editor | 7 | 05-10-2019 09:05 PM |
Poetry: line numbers aligned to the right. | 1v4n0 | ePub | 20 | 12-16-2017 04:02 AM |
Shakespeare Collection for Kindle with line numbers | SamTCat | Amazon Kindle | 0 | 08-19-2011 11:36 PM |
Adding line numbers to an ebook | txgecko | Workshop | 8 | 06-11-2011 02:59 PM |
Formatting epic poems with line numbers? | Lima_dat | Workshop | 4 | 02-25-2008 03:53 PM |