01-24-2023, 03:51 PM | #16 |
Sigil Developer
Posts: 8,090
Karma: 5450184
Join Date: Nov 2009
Device: many
|
FWIW, display:none has been standard css even for epub2, so everything should support it. Not sure what type of display engine they are using in your Desktop reader. All current epub readers should not have an issue with it. Even my very very old Sony reader handled it quite well.
Last edited by KevinH; 01-24-2023 at 04:03 PM. |
01-24-2023, 08:03 PM | #17 | |
A Hairy Wizard
Posts: 3,174
Karma: 18843349
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
|
|
01-25-2023, 02:17 PM | #18 |
Zealot
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
|
Thanks for the suggestions.
I am running the Mageia 8 Linux OS on my desktop. On the desktop I am using FBReader and Okular. Okular is the standard ebook and pdf reader in the Mageia distro. Both of them seem to be ignoring the CSS in the book. I am also running FBReader on my tablet, and that works fine. I looked at the settings for FBReader on the desktop and didn't see anything that looked appropriate to the problem. The settings parameters on the desktop program and the mobile app are different. Very strange. Same with the Okular settings.... nothing looked relevant. And... as I said, Calibre on the desktop shows the book as desired. |
01-25-2023, 02:50 PM | #19 |
Sigil Developer
Posts: 8,090
Karma: 5450184
Join Date: Nov 2009
Device: many
|
My guess is that neither FBReader nor Okular on the Desktop are native epub reading programs. They probably natively read some other format and convert an epub to it on the fly. This conversion probably does not understand basic css like display: none.
Versions of those programs for Android probably use the Android built in blink/chrome browser widget which natively understands css making epubs work properly. But this is only a guess. Update: based on this discussion https://www.reddit.com/r/kde/comment...ular_and_epub/ I was right and okular's epub support is quite broken and uses obsolete conversion tools to try to read epubs. Last edited by KevinH; 01-25-2023 at 02:55 PM. |
01-25-2023, 03:03 PM | #20 |
Sigil Developer
Posts: 8,090
Karma: 5450184
Join Date: Nov 2009
Device: many
|
You might want to try an e-reader that was designed and built to support epubs.
The best (most spec compliant) desktop one I have found is Thorium. According to this link they have a Linux version. https://www.edrlab.org/software/thorium-reader/ I use the macOS version and it handles just about everything correctly. One of the better epub3 readers around. And the desktop FBReader site says a new free version 2.0 was released in December of 2022 but it is *not* open source nor is it a rewrite of the android version which makes me really wonder what it is doing behind the scenes. Last edited by KevinH; 01-25-2023 at 03:40 PM. |
01-25-2023, 05:55 PM | #21 |
Zealot
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
|
Okular does some really strange things, which is why I switched to FBReader. I use FBReader as my main reader on my Android tablet, so I figured it would be good on the desktop. Nah.
I will look into installing Thorium, but the only viable installation on this platform appears to be Appimage, and I will have to learn how to do that. In the interim, I found Foliate in the Mageia repositories, and that application seems to work properly with regard to the CSS in the book. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Empty entries in the index | libre75 | Sigil | 2 | 06-19-2019 04:07 PM |
Index not working for entries within <em> | 1v4n0 | Sigil | 10 | 10-30-2017 09:53 AM |
Error: Index has too many entries... | Katsunami | Conversion | 6 | 10-12-2013 09:06 AM |
Bug: entries with multiple formats trigger multiple conversions | flinx1 | Calibre | 12 | 05-21-2010 06:23 AM |