Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-16-2025, 06:01 AM   #16
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You should not be using any sort of webkit code in your ePub. That makes it not ePub compliant. Also, some programs don't have anything to do with webkit.
JSWolf is offline   Reply With Quote
Old 06-17-2025, 01:35 AM   #17
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,185
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
I wouldn't mind recommendations for windows 11. What I'm looking for is an epub reader that shows what the ebook is going to look like on my Pocketbook device.

So far I've been using Adobe Digital Editions (ADE), however it's kind of buggy and the fonts are sometimes weirdly blurred around the edges.

I haven't looked in years to see if there is a better piece of software...
Amalthia is offline   Reply With Quote
Old 06-17-2025, 01:02 PM   #18
Falkor
Connoisseur
Falkor began at the beginning.
 
Posts: 89
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
Quote:
Originally Posted by RbnJrg View Post
You are right regarding the fonts and indeed, you need to use "-webkit-column-break-before" (or to use "-webkit-column-break-after") for page breaks; all programs based on Readium must do it. But that is not an issue.
It's another thing to add.. although I found "break-before: column" also does the trick in the apps that support "-webkit-column-break-before"

Getting page breaks to work across all reading applications is a pain, though. The order in which the different css properties are arranged matters – and the order that works in Thorium and ADE doesn't work in Books... although maybe I'm missing some crucial detail to make it work.


Quote:
Originally Posted by Slevin#7 View Post

Is it enough to go with this kind of solution of fallbacks?:
Code:
  -webkit-column-break-before: avoid;
    -webkit-page-break-before: avoid;
            page-break-before: avoid;
                 break-before: avoid;
Just try it and see if it works everywhere
Falkor is offline   Reply With Quote
Old 06-17-2025, 01:26 PM   #19
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,775
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Falkor View Post
It's another thing to add.. although I found "break-before: column" also does the trick in the apps that support "-webkit-column-break-before"

Getting page breaks to work across all reading applications is a pain, though. The order in which the different css properties are arranged matters – and the order that works in Thorium and ADE doesn't work in Books... although maybe I'm missing some crucial detail to make it work.

Just try it and see if it works everywhere
The property "-webkit-page-break-before" doesn't exist. See https://webkit.org/css-status/#
RbnJrg is offline   Reply With Quote
Old 06-17-2025, 02:23 PM   #20
Falkor
Connoisseur
Falkor began at the beginning.
 
Posts: 89
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
Ah, good catch!
Falkor is offline   Reply With Quote
Old 06-18-2025, 05:52 AM   #21
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,056
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by Falkor View Post

Getting page breaks to work across all reading applications is a pain, though. The order in which the different css properties are arranged matters – and the order that works in Thorium and ADE doesn't work in Books... although maybe I'm missing some crucial detail to make it work. )
A new HTML file always starts at the top of the screen. (epubs converted to old mobi KF7, azw3/KF8 and KFX by Amazon or locally, and any epub renderer doing pages not continuous scrolling)
In such a case "padding-top: <value>em;" seems to always work for the first item, while some renders will remove margin-top at start of a screen and some may remove margin-bottom at the bottom of the screen.

Don't use any webkit or adobe or media queries if you want 100% compatibility, because even "fall back" code might fail.
Quoth is offline   Reply With Quote
Old 06-18-2025, 03:41 PM   #22
Falkor
Connoisseur
Falkor began at the beginning.
 
Posts: 89
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
Quote:
Originally Posted by Quoth View Post
A new HTML file always starts at the top of the screen. (epubs converted to old mobi KF7, azw3/KF8 and KFX by Amazon or locally, and any epub renderer doing pages not continuous scrolling)
In such a case "padding-top: <value>em;" seems to always work for the first item, while some renders will remove margin-top at start of a screen and some
may remove margin-bottom at the bottom of the screen.
Wait, that's a problem from another thread. I'll reply there..
https://www.mobileread.com/forums/sh...=368530&page=7

Quote:
Originally Posted by Quoth View Post
Don't use any webkit or adobe or media queries if you want 100% compatibility, because even "fall back" code might fail.
It seems no matter what I do, I'll never be able to achieve 100% compatibility. Adding properties for different renderers seems to increase compatibility rather than breaking it in most cases.
Falkor is offline   Reply With Quote
Old 06-18-2025, 06:46 PM   #23
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,056
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by Falkor View Post
It seems no matter what I do, I'll never be able to achieve 100% compatibility.
Yes, you can for novels, though after over 12 years of making ebooks I now won't bother checking mobi/KF7 compatibility. Only the Kindle K1, K2 and all the DX/DXG variants have to use mobi (encrypted version is azw without a digit) rather than azw3 or KFX on Amazon.

The secret is to realise that the ebook specs started out simply for simple novels with either images in their own paragraph and centred, or small. In both cases no frame in MS Word/LO Writer and "anchor as character". Superscript and subscript work if carefully styled. Forget things like SMALL CAPS, raised caps, drop caps; anyway many readers don't like them they reduce reading comprehension and have erratic support. Accessibility is important, so alt text for every image and not trying to be clever or fancy.

If you are doing a text book, or fancy stuff in epub3, accept that it won't work for many and widespread commercial distribution will either be rejected or cause problems for purchasers.

Fixed layout suits more people as a PDF, but has to be avoided unless the content is only for large tablets. Most people want to read a novel on a phone. Personally I prefer a Kobo Sage for novels.

Graphic Novels / Comics / Picture books etc are better on large tablets. There are now ones with almost ebook battery life (if only reading) and non-glare screens as good as eink with a front light on. Drop caps, small caps, and other decorative devices can be appropriate in a picture book.
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best cross-platform e-reader: BookFusion? Faterson Which one should I buy? 79 11-30-2023 09:39 PM
Cross-platform reader software recommendations drawson1 General Discussions 5 01-02-2022 11:11 PM
3M Library Platform Reader is the TXTR Dulin's Books News 10 06-30-2011 08:22 PM
$99 Android e-ink e-reader platform JobAccommodation Android Devices 6 04-13-2011 03:59 AM


All times are GMT -4. The time now is 01:48 AM.


MobileRead.com is a privately owned, operated and funded community.