10-01-2022, 09:39 AM | #16 |
Sigil Developer
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
|
If you ever add iOS to your target epub3 platforms, there is of course the Apple Books.app (iBooks), the Kobo Reader app, and a very nice, free, and compliant epub3 reader called the Bluefire Reader app that I love.
|
10-01-2022, 11:22 AM | #17 | |
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Regarding Kobo, I know it and I tried it, and frankly, the support for epub3 is quite poor; I can't get with it the "vertical floating" that to me, is fundamental to avoid fragmentation. Kobo is good for epub2 but for epub3, it still has to grow EDIT: I installed Bluefire for Android and the support for epub3 is impresive! And the best of all, my epubs3 are showed as expected EDIT2: Just as Bluefire is great under Android, it sucks under Windows; a pity. Last edited by RbnJrg; 10-01-2022 at 01:19 PM. |
|
10-01-2022, 06:04 PM | #18 | |
Resident Curmudgeon
Posts: 73,974
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
As for ADE 2, it's very useful to see how an ePub 3 will work on an ePub 2 only program. |
|
10-01-2022, 07:15 PM | #19 |
Bibliophagist
Posts: 35,401
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Which Kobo renderer are you using for your epub3 testing? I've only played with this a couple of times on the iOS app but at that time, it was using the same dual renderer setup as Kobo's ereaders.
Last edited by DNSB; 10-01-2022 at 07:18 PM. |
10-01-2022, 09:52 PM | #20 | ||
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Quote:
Code:
blockquote { margin: 1.5em 0; border-left: 5px solid black; padding-left: calc(5% - 5px); } |
||
10-01-2022, 10:26 PM | #21 |
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Kobo Forma, Kobo for Desktop and Kobo for Android. All of these platforms have very limited css3 support. No grids, no flex-box, no shapes, very poor implementation of properties to avoid fragmentation, limitated support for MathML. I can live without grids, flex-box and shapes (even I can replace MathML with svg images) but to avoid fragmentation is —to me— a "sine qua non" for an epub3.
|
10-02-2022, 12:10 AM | #22 |
Bibliophagist
Posts: 35,401
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Hmmm... fragmentation. I was looking at that in Chrome a while back and support was so-so. So for the heck of it, I hit the css3test.com site with the latest versions of Firefox, Edge, Chrome and Safari. Firefox and Safari managed a 67% rating while Edge and Chrome managed 63%. (finer grained results were Firefox passing 2233 tests, Safari passing 2207 tests, Chrome passing 2112 tests and Edge passing 2110 tests out of 3435 on 819 features.
As for the ePub3 specification, it would appear that many of the features in the latest CSS snapshot or even the Fragmentation module from 2108 are not fully supported. Though I do admit to a certain level of amusement when reading "CSS Fragmentation Module Level 3—Breaking the Web, one fragment at a time" |
10-02-2022, 12:51 PM | #23 | |
Wizard
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
What I'm writting, is only valid for epub3. I make this clarification so that no one who is reading this thinks that it can be applied to epub2 (or Kindle). Under epub3 DOES NOT WORK (except for Calibre): page-break-before: avoid | always page-break-after: avoid | always page-break-inside: avoid; (here there are chances of 50% that will be accepted) So, under epub3 must be employed: 1) To force a break BEFORE a block: Code:
.breakBefore { -webkit-column-break-before: always; break-before: column; } Code:
.breakAfter { -webkit-column-break-after: always; break-after: column; } Code:
.nobreak { -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; } Code:
.orphwid { orphans: 2; /* any POSITIVE-NON ZERO value will work */ widows: 2; } You can't Properties like the following: -webkit-column-break-after: avoid; page-break-after: avoid; break-after: avoid-column; break-after: avoid-page; break-after: avoid; sadly won't work. But since the property orphans works, then is possible to build a workaround to control a break, for example, after a heading. Suppose we have something like: Code:
<h2>This is a title</h2> <p>This is a long (or not) paragraph of text...</p> Code:
<p class="special"><span class="heading2">This is a title</span>This is a long (or not) paragraph of text...</p> Code:
.special { text-indent: 0; orphans: 3; /* because after h2 has to have two lines of text */ } .heading2 { display: inline-block; /* This is key */ width: 100%; /* This is key */ text-indent: 0; text-align: center; /* or whatever you want */ font-weight: bold; /* or whatever you want */ font-size: 1.2em; /* or whatever you want */ padding: 2em 0 1em; /* or whatever you want */ } According to what i have done, under epub3 is possible to get an ebook practically with a minimum of blank spaces (just one or two lines of text at the end of some pages), no matter if the epub have images, tables, side notes, etc. And an ereader for epub3 that can't display that, then -to me- is not a good ereader for epub3. The list of programs and apps I posted, all of them can control the fragmentation, so (and again I make the clarification) to me, they are not garbage. |
|
10-03-2022, 10:26 AM | #24 |
Connoisseur
Posts: 52
Karma: 10
Join Date: Sep 2021
Location: Upstate NY, USA
Device: iPad Pro, Kindle basic
|
|
10-03-2022, 10:45 AM | #25 |
Resident Curmudgeon
Posts: 73,974
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Bluefire Reader is based on RMSDK 12.5. But that doesn't mean that the author hasn't done other things to it.
|
10-03-2022, 11:37 AM | #26 |
Sigil Developer
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
|
|
10-03-2022, 02:20 PM | #27 | ||
Connoisseur
Posts: 52
Karma: 10
Join Date: Sep 2021
Location: Upstate NY, USA
Device: iPad Pro, Kindle basic
|
Quote:
Quote:
I'll give it a shot, thanks! |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom CSS Stylesheets for Calibre's Viewer | Ralob | Viewer | 373 | 08-21-2023 03:24 PM |
[1.9.20] css template issue | byword | Sigil | 16 | 09-06-2022 01:52 PM |
How to View CSS Stylesheets of Kindle Books | cssQuest | Editor | 17 | 09-20-2015 04:37 AM |
Which one to apply: HTML tagging or CSS stylesheets? | neyet | ePub | 12 | 01-03-2015 06:25 PM |
eReader apps that do use embedded CSS 'stylesheets' | jttraverse | Android Devices | 7 | 05-20-2011 12:28 AM |