08-20-2024, 06:02 PM | #1 |
Evangelist
Posts: 450
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Miscellaneous display and editing matters
My default font and line height results in 15 lines of text on my Libra 2. However, if there's a footnote which would otherwise display at the top of the next page, I get 16 lines of text with the footnote on the bottom line. Is this some widow and orphan manifestation or is it something else?
I've come to dislike large first letters of a chapter, often bold and extending above or below the line, so they need a special margin (such as 0.7em) to display nicely. Accordingly, I've been changing these to regular text. Anyone else? Why do almost all books not indent the first paragraph of a chapter, but then indent all subsequent paragraphs? I toy with indenting all paragraphs. Somewhere in the 1.4em range seems best for indenting, although maybe 5%? Is there some way to automate making sure all actual text (body, rather than headings or special sections) is normal size? The current book I'm reading doesn't have the footnote preview feature (clicking on a footnote brings you to the footnote) and image viewer. How can I fix this? All of this relates to kepub files on my Libra 2 (or Clara BW). |
08-20-2024, 06:11 PM | #2 | ||||||
Grand Sorcerer
Posts: 11,509
Karma: 230505500
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
||||||
Advert | |
|
08-20-2024, 07:03 PM | #3 |
Wizard
Posts: 1,429
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
|
Another thing that can cause a variable number of lines per screen is paragraph spacing. If the CSS adds padding between paragraphs, then you end up with fewer lines per screen when there are multiple paragraphs per screen.
|
08-20-2024, 07:23 PM | #4 | |
Grand Sorcerer
Posts: 11,509
Karma: 230505500
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
OTOH, there are folks here who add them to their books. Section breaks and sections with a different font size (letters, diaries etc) can also change the number of lines. |
|
08-20-2024, 07:28 PM | #5 | |||||
Bibliophagist
Posts: 40,549
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
Quote:
Quote:
Quote:
As for the double tap to bring up the image viewer? Not seeing that suggests that you are reading an epub not a kepub. |
|||||
Advert | |
|
08-20-2024, 07:46 PM | #6 |
Wizard
Posts: 1,429
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
|
KEPUB not using widows and orphans means that the WebKit renderer doesn't care if only one line of a paragraph ends up being at the bottom or top of a page, right?
|
08-20-2024, 07:53 PM | #7 |
Bibliophagist
Posts: 40,549
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Correct. Unlike the RMSDK renderer which defaults to widows/orphans=2, the WebKit based renderer defaults to widows/orphans=1.
|
08-20-2024, 07:56 PM | #8 |
Grand Sorcerer
Posts: 11,509
Karma: 230505500
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Personally, I can't stand the gaps widows/orphans management often leaves at the bottom of the page in epubs. So I always change widows/orphans to 1 in all my books, and also in the config file of my Kobos.
|
08-20-2024, 08:08 PM | #9 |
Bibliophagist
Posts: 40,549
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
My stock body class has widows: 1; and orphans: 1;. I also use the RMSDK Disable orphans/widows avoidance patch. I do remember years back someone mentioned using readingWidows=0 and readingOrphans=0 (or was it =1??) in the Kobo eReader.conf file but in my testing at that time, I did not find those settings having any effect. I did find that settings widows and orphans to 0 in the CSS had two different effects. Some renderers treated 0 as equivalent to 1 and others disregarded it and went with their default of 2 or 3.
|
08-20-2024, 08:08 PM | #10 | |
Evangelist
Posts: 450
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
Sorry for being unclear. |
|
08-20-2024, 08:10 PM | #11 |
Evangelist
Posts: 450
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Not the case here. I kill such padding; indenting the start of paragraphs distinguishes one paragraph from the next.
|
08-20-2024, 08:12 PM | #12 | |
Evangelist
Posts: 450
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Yes!
Quote:
D'Oh! I wasn't doing a nice normal double tap. |
|
08-20-2024, 08:13 PM | #13 |
Bibliophagist
Posts: 40,549
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Are you certain that you are killing it everywhere? I have one epub where the original CSS specified a padding at the end of each block in the body style, in each paragraph style and in a div style that was applied to every <expletive deleted> paragraph. The lovely part was that the padding was not consistent.
|
08-20-2024, 08:13 PM | #14 |
Evangelist
Posts: 450
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Since I'm doing kepubs it seems there's no need for widows/orphans management.
|
08-20-2024, 08:21 PM | #15 | |
Evangelist
Posts: 450
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
Code:
<a class="Footnote-Reference" epub:type="noteref" href="05_Chapter_One.xhtml#footnote-002" id="footnote-002-backlink" role="doc-noteref" title="footnote">[*1]</a> Code:
.Footnote-Reference { vertical-align: 0.25em; line-height: 0; font-size: 0.8em; } Code:
<div class="footnote" epub:type="footnote" id="footnote-003" role="doc-footnote"> <p class="xFootnote"><a href="06_Chapter_Two.xhtml#footnote-003-backlink" role="doc-backlink" title="footnote reference">*2 Last edited by foosion; 08-20-2024 at 09:09 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
.dat in miscellaneous | ottischwenk | Editor | 1 | 01-06-2024 07:45 PM |
Accessories Best display graphics tablet for photo editing? | fanhun | enTourage eDGe | 0 | 06-05-2018 06:15 AM |
File gets moved to Miscellaneous | MerlinMama | Editor | 13 | 01-14-2017 10:19 PM |
Preferences Miscellaneous Tab | adun | EPUBReader | 2 | 07-28-2010 07:06 AM |
Miscellaneous questions ? | bugsbunny14 | iRex | 5 | 09-17-2006 12:40 PM |