02-07-2024, 02:29 PM | #31 |
Resident Curmudgeon
Posts: 74,576
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
02-07-2024, 03:06 PM | #32 | |
Resident Curmudgeon
Posts: 74,576
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
02-07-2024, 03:11 PM | #33 |
Bibliophagist
Posts: 36,607
Karma: 146496996
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
One acquaintance of mine has a child who is legally blind and attending university. For them, pagelists allows them to locate a page referred to by a professor from the printed text without needing assistance. The type of thing where the profs say 'read pages 249-283 and do the quiz on pages 284-285' before the next class.
For more information see: Accessible Publishing Knowledge Base: Page Navigation as to why pagelists are considered part of accessibility. |
02-07-2024, 03:12 PM | #34 | |
Resident Curmudgeon
Posts: 74,576
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
02-07-2024, 03:18 PM | #35 | |
Resident Curmudgeon
Posts: 74,576
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
All I was saying is that putting the alignment in <body> works. |
|
02-07-2024, 03:22 PM | #36 | |
Resident Curmudgeon
Posts: 74,576
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
For the new EU rules on accessibility, would a pagelist have to be made for every eBook no matter the type of eBook (be it fiction, non-fiction, textbook)? |
|
02-07-2024, 03:24 PM | #37 | |
Bibliophagist
Posts: 36,607
Karma: 146496996
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
For most people, trying to save every possible byte is no longer needed. It's not like when I was programming building controls with an 8-bit processor with 4K of RAM and 8K of ROM and I used every byte saving trick to cram everything into that 8KB ROM. Though in many ways, programming microprocessors back then was a lot more fun. Flashback to Byte magazine and "Computers, the world's greatest toys". |
|
02-07-2024, 03:51 PM | #38 | |
A Hairy Wizard
Posts: 3,119
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
I do NOT set anything in the body except basic margins/padding. I set text-align:left on the base <p> because I prefer left-aligned text. I have no problem with any of the text that I designate as center-aligned, or fully justified, displaying properly. |
|
02-07-2024, 04:00 PM | #39 |
Resident Curmudgeon
Posts: 74,576
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If you convert from KF8 to ePub using KindleUnpack, you will need to edit the ePub as there are some errors. I don't know if these errors would cause a problem or not as I always fix them.
|
02-07-2024, 04:25 PM | #40 | |
Resident Curmudgeon
Posts: 74,576
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
02-07-2024, 04:33 PM | #41 | |
Bibliophagist
Posts: 36,607
Karma: 146496996
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Oddly, all their textbooks in epub format have pagelists. If not, they would have to request help from a classmate or ?.
Quote:
Since you already referenced Random in Death, can we assume that you noticed that it had a pagelist section in the navigation document and in the .ncx document? Last edited by DNSB; 02-07-2024 at 04:35 PM. |
|
02-07-2024, 07:45 PM | #42 | |
A Hairy Wizard
Posts: 3,119
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
Has this been brought up with Kobo so they can work on a fix?? |
|
02-07-2024, 08:22 PM | #43 |
A Hairy Wizard
Posts: 3,119
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Here is an example of what I would call code bloat:
Code:
<p style="margin:0.00% 0.00%; text-indent:1.2em; line-height:110%; widows:0; orphans:0; font-size:1.0rem"> <span style=" font-size:1.0rem">We weren’t.</span> </p> <p style="margin:0.00% 0.00%; text-indent:1.2em; line-height:110%; widows:0; orphans:0; font-size:1.0rem"> <span style=" font-size:1.0rem">We’d planned the general strategy weeks ago, and confirmed it days before.</span> </p> Inline styling makes me shudder anyway, but the fact that the same styling is put on EVERY FREAKING LINE... that is totally unnecessary...and bloats the code. The same goes for putting a span, with inline styling, around every paragraph simply to tell it to use the standard font size.... which it already told it in the first set of styling! Here is what I would reduce it to: Code:
CSS: p {margin:0.00% 0.00%; text-indent:1.2em; line-height:110%; widows:0; orphans:0; font-size:1.0rem} HTML: <p>We weren’t.</p> <p>We’d planned the general strategy weeks ago, and confirmed it days before.</p> Which is easier to read? If you needed to edit the way all your paragraphs looked you would need to change every single paragraph the way it currently stands. Reducing the code bloat and using css, as in the second example, I only need to make the change in one place and it updates the whole book. I don't really expect the code bloat to change the file size all that much...certainly not as much as fixing the images/fonts...although I have reduced massive books by a couple of megabytes. I would rather not put ANY renderer, no matter how capable, through the constant headache of crunching through all that bloat just to determine what and how it should be displayed... my phone seems to stay cooler and the battery lasts longer. (That's my story and I'm sticking to it! ) Cleaning up the unused css styles is automagically done for me when I use the Sigil plugin cssRemoveUnusedSelectors, so I don't spend too much time and energy cleaning up that "bloat". |
02-08-2024, 12:16 AM | #44 | |
Wizard
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Ok
Quote:
And there is a big notice; the epub2 protocol is next to be deprecated. Why? Because KOBO have added practically full epub3 supports to its reades (in my tests, the only thing seems not to be implemented yet are popup footnotes/endnotes and there are issues with MathML). Anyone can test that with the Kobo readers for Android and iOS. I don't know if all eink models of Kobo have been uptades with the last version of the rendering engine but what I saw in android and ios is amazing! To read, for example, "Alice in Wonderland" (illustrated version) with epub3 code, compared with an epub2 version, is like to compare a Ferrari with a bike. Last edited by RbnJrg; 02-08-2024 at 12:20 AM. |
|
02-08-2024, 01:35 AM | #45 |
Zealot
Posts: 131
Karma: 9236
Join Date: Jun 2020
Device: Kindle PW3 [KOReader]
|
Nothing happens, that ebook is safe and sound on your ereader. Because now probably only your modified ebooks have broken pagelists, it's already best practice. What will happen in the future is probably that more ebooks will adopt the more "bloated" <span aria-label=" Page 145. " epub:type="pagebreak" id="pg_145" role="doc-pagebreak"/> technique, like Random in Death correctly uses, instead of the non-recommended <a id="page145"/> technique (which I also used).
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Nook S2 vs regular S2--bloat vs bucks?? | friedrice | Which one should I buy? | 5 | 05-05-2016 11:54 AM |
After I Edit Code, Save, and Convert, all my Code Edits are Gone | lukewrussell | Calibre | 1 | 03-14-2014 08:05 PM |
Some code help | Gray Eminence | Sigil | 3 | 12-31-2010 09:18 AM |
code help | AWOL | Sigil | 7 | 11-19-2010 11:50 AM |
Let's create a source code repository for DR 800 related code? | jraf | iRex | 3 | 03-11-2010 12:26 PM |