07-25-2024, 04:15 PM | #16 |
Connoisseur
Posts: 54
Karma: 10
Join Date: Mar 2014
Device: iPhone XR
|
Thanks for all the responses. I was able to use some primitive regex to wipe out all the line numbers. Then some global replacement of several CSS entries with the one for normal paragraphs fixed it all up.
Each line of the poetry is one paragraph in the code, yes. If anyone wants to see any snippets of the code or the CSS, I'll be glad to oblige, but my problem is basically solved. |
07-25-2024, 06:16 PM | #17 |
Resident Curmudgeon
Posts: 76,354
Karma: 136006198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
That's why it cannot be done. There is no way to do this properly. Even if you had columns, it cannot be done correctly.
|
07-25-2024, 11:41 PM | #18 |
Bibliophagist
Posts: 40,457
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For what it may be worth, I have two books of poetry where the creator used a table for the stanza/verse numbers. The stanza numbers are in a narrow column on the left hand edge and the rest of the screen width is the 2nd column for the verses. I've also seen on Gutenberg, a version of a Shakespeare's play with the numbers on the right hand side.
So yes, it can be done but it's a nasty manual procedure in the two books I have. |
07-26-2024, 07:51 AM | #19 | |
Resident Curmudgeon
Posts: 76,354
Karma: 136006198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
07-26-2024, 10:42 AM | #20 |
Well trained by Cats
Posts: 30,441
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
07-26-2024, 12:44 PM | #21 |
Resident Curmudgeon
Posts: 76,354
Karma: 136006198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
07-26-2024, 01:38 PM | #22 | |
Well trained by Cats
Posts: 30,441
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The table grows size to hold the field. the font baseline stays. Now, if you play tricks to move the number around in the number column (away from where it would normally land), Yes, you can break it |
|
07-26-2024, 03:07 PM | #23 |
Resident Curmudgeon
Posts: 76,354
Karma: 136006198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
That's why I've said line numbers cannot be done reliably.
|
07-26-2024, 04:29 PM | #24 |
Bibliophagist
Posts: 40,457
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Jon, did you even read what @theducks said? Breaking it will require someone to edit the code. If so, blame the nidjit who edited the code.
I just checked on the two poetry books I have and changing the font size did nothing until got to the point where the number took more than 50% of the screen to display. At that point, I was seeing 1-2 words per row in the text section. This happened with 3 applications on my computer, a Kobo Sage and a Kobo Libra Colour. Yes, it is fragile. Yes, I would not recommend doing it. Yes, it is reliable but requires too much manual input for my taste. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Duplicate ID Error line numbers wrong | phossler | Editor | 7 | 05-10-2019 10:05 PM |
Poetry: line numbers aligned to the right. | 1v4n0 | ePub | 20 | 12-16-2017 05:02 AM |
Shakespeare Collection for Kindle with line numbers | SamTCat | Amazon Kindle | 0 | 08-20-2011 12:36 AM |
Adding line numbers to an ebook | txgecko | Workshop | 8 | 06-11-2011 03:59 PM |
Formatting epic poems with line numbers? | Lima_dat | Workshop | 4 | 02-25-2008 04:53 PM |