Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 08-09-2025, 04:34 PM   #31
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
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
It’s called “back up coding” Jon…. Look it up.

It covers multiple devices/apps and can even cover epub 2 & 3….

You say it’s not ePub compliant, yet any device that barfs on that coding is, itself, not epub compliant… so by your logic you can’t use those devices either… bye bye ADE!! Lol
Turtle91 is offline   Reply With Quote
Old 08-09-2025, 04:53 PM   #32
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,708
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
But if you are relying on webkit code, then you are doing it wrong. That's not ePub compliant and should not be used. Because you have to code for programs that do not have webkit so you may as well do that for all programs.
Jon, as per the ePub 2.0.1 specification, any unsupported properties must be gracefully degraded per the CSS 2.0 specification.

So any system that does do so is obviously not ePub2 compliant and should be dropped from discussion.
DNSB is offline   Reply With Quote
Old 08-09-2025, 05:01 PM   #33
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,877
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Any ePub for sale should never use code that's not ePub compliant.
JSWolf is offline   Reply With Quote
Old 08-09-2025, 09:04 PM   #34
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
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
Unless you are trying to compensate for all those bad apps by providing alternative coding that actually works….
Turtle91 is offline   Reply With Quote
Old 08-10-2025, 07:29 AM   #35
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,877
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Turtle91 View Post
Unless you are trying to compensate for all those bad apps by providing alternative coding that actually works….
It's not compensating for bad apps. It's creating code for apps that do not use webkit and if you can create such code, then webkit is even more not needed.
JSWolf is offline   Reply With Quote
Old 08-10-2025, 03:21 PM   #36
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
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
“I honestly don’t know what he just said… I don’t think he does either…”
Turtle91 is offline   Reply With Quote
Old 08-10-2025, 05:56 PM   #37
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,827
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
It's not compensating for bad apps. It's creating code for apps that do not use webkit and if you can create such code, then webkit is even more not needed.
In your previous posts, you've told us that you use BookFusion as an e-reader. Well, to manage page breaks in it, you absolutely need to use the following properties:

Code:
-webkit-column-break-after: avoid;
-webkit-column-break-before: avoid;
-webkit-column-break-inside: avoid;
If you don't use them, then it will be impossible to avoid page breaks in BookFusion. So what? Is BookFusion making a mistake by basing its rendering engine on WebKit? And BookFusion is not free.
RbnJrg is offline   Reply With Quote
Old 08-10-2025, 05:59 PM   #38
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,877
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by RbnJrg View Post
In your previous posts, you've told us that you use BookFusion as an e-reader. Well, to manage page breaks in it, you absolutely need to use the following properties:

Code:
-webkit-column-break-after: avoid;
-webkit-column-break-before: avoid;
-webkit-column-break-inside: avoid;
If you don't use them, then it will be impossible to avoid page breaks in BookFusion. So what? Is BookFusion making a mistake by basing its rendering engine on WebKit? And BookFusion is not free.
If you've found out that you need to use webkit code to do page breaks, then please put in a bug report as it is a serious bug that needs to be fixed.
JSWolf is offline   Reply With Quote
Old 08-10-2025, 06:43 PM   #39
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,827
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
If you've found out that you need to use webkit code to do page breaks, then please put in a bug report as it is a serious bug that needs to be fixed.
No bug, is the webengine used by BookFusion. The same as Kobo for Android, Cantook, PocketBook, Reasily, Lithium, Thorium, etc. The same as the Sigil's plugin Readium, Bibi Reader and Epub JSReader.
RbnJrg is offline   Reply With Quote
Old 08-10-2025, 09:26 PM   #40
Slevin#7
Connoisseur
Slevin#7 began at the beginning.
 
Posts: 72
Karma: 10
Join Date: May 2025
Device: iPad
Don't forget Apple Books as one of the bigger eco-systems in a whole.
Slevin#7 is offline   Reply With Quote
Old Yesterday, 03:55 AM   #41
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,268
Karma: 105299897
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by Slevin#7 View Post
Don't forget Apple Books as one of the bigger eco-systems in a whole.
Really? Apple & Google are big, but not for Apple Books or Google Playbooks.
Quoth is offline   Reply With Quote
Old Yesterday, 06:25 PM   #42
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,877
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by RbnJrg View Post
No bug, is the webengine used by BookFusion. The same as Kobo for Android, Cantook, PocketBook, Reasily, Lithium, Thorium, etc. The same as the Sigil's plugin Readium, Bibi Reader and Epub JSReader.
Sure it's the web engine used, but you should not have to use any webkit code for anything. Anything you need to use WebKit for because ePub code isn't working is a bug that needs to be reported so it can be fixed.
JSWolf is offline   Reply With Quote
Old Yesterday, 07:15 PM   #43
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,827
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
Sure it's the web engine used, but you should not have to use any webkit code for anything. Anything you need to use WebKit for because ePub code isn't working is a bug that needs to be reported so it can be fixed.
Thus, and following your reasoning, it's also not legal to use any of the workarounds for ADE, because it doesn't comply with the epub2 specifications. Using a WebKit property is, if you will, a workaround, which doesn't cause any problems for e-readers that don't understand the property. Because of the way these engines paginate an .xhtml file (they turn the entire page into columns), there's no other way to handle page breaks other than using -webkit-column-break-whatever.

Employing a -webkit- prefixed css property in an epub doesn't inherently constitute a "bug" in the sense of a coding error. The best practice for epub is to use standard css properties whenever possible, and to include vendor-prefixed versions as fallbacks where the standard equivalent is not yet fully implemented or consistently supported across all target ereaders.

Last edited by RbnJrg; Yesterday at 07:25 PM.
RbnJrg is offline   Reply With Quote
Old Yesterday, 07:17 PM   #44
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,877
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by RbnJrg View Post
Thus, and following your reasoning, it's also not legal to use any of the workarounds for ADE, because it doesn't comply with the epub2 specifications. Using a WebKit property is, if you will, a workaround, which doesn't cause any problems for e-readers that don't understand the property. Because of the way these engines paginate an .xhtml file (they turn the entire page into columns), there's no other way to handle page breaks other than using -webkit-column-break-whatever.
And she the WebKit code is ignored, whatever it is you are trying to do won't work.

What ADE workarounds are not compliant with ePub2?
JSWolf is offline   Reply With Quote
Old Yesterday, 09:04 PM   #45
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,827
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
And she the WebKit code is ignored, whatever it is you are trying to do won't work.
If what I'm trying is to handle page-breaks and if the engines are based on webkit, then -webkit-column-break-whatever will be accepted. OTOH, if the engines are not based on webkit, will employ the properties "break-whatever" (epub3) or "page-break-whatever" for RMSDK.

Quote:
What ADE workarounds are not compliant with ePub2?
For example, to employ emojis as name of a class. Under ADE is possible to use an style of the following way:

.👻 {
...
}

That class will be ignored by any other engine that is not using RMSDK, so of that way, you can have styles only to be applied by ADE. You can apply custom styles to fix issues unique to ADE that are ignored by any other reader not based on RMSDK.
RbnJrg is offline   Reply With Quote
Reply

Tags
header text keep together


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change the header/footer text size. bmcs Calibre 2 03-09-2020 06:13 AM
Possible to remove header text? eTIPS Kindle Formats 2 08-19-2015 06:33 AM
Stripping a file from header text? norweger PDF 8 03-11-2015 03:49 PM
Getting text length from mobi header. mattst Kindle Formats 7 03-29-2012 06:31 AM
PDF Conversion - Removing Header / Footer Text heb Sony Reader 9 07-11-2010 11:02 PM


All times are GMT -4. The time now is 04:53 AM.


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