Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-23-2025, 07:17 PM   #16
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: 48,102
Karma: 174315444
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
Look at the CSS and tell me that it needs to be that complicated when it could be that simple. The way to do eBooks is KISS. StandardEBooks way to do it is Keep it as complicated as possible.
Jon, perhaps you could give an example of just where when reading an ePub, the more complex CSS makes a difference? Perhaps an example such as using margin: auto; which should work with any ePub2 renderer to center images/text but your favourite RMSDK version does not work with it? How RMSDK instead of disregarding an error in a stylesheet dumps that whole stylesheet in the bit bucket? How RMSDK instead of skipping over an unknown CSS entry as mandated by the ePub documentation will sometimes treat it as an error and skip the whole stylesheet?

Are you offended by such items as the body item in the core.css stylesheet where multiple non-standard hyphen items are used? Following from the requirement that unknown items will be disregarded, the old RMSDK used in Kobo ereaders would skip over most of the items other than the non-standard adobe-hyphenate item. Or are you objecting to the Nook specific adobe-text-layout entry in the hgroup entry? Or the disregard for inheritance with the margins being set to 0 in multiple places?

Code:
body{
	font-variant-numeric: oldstyle-nums;
	hyphens: auto;
	adobe-hyphenate: auto;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-epub-hyphens: auto;
	text-wrap: pretty;
}
Code:
hgroup{
	break-after: avoid;	
	page-break-after: avoid;
	break-inside: avoid;	
	page-break-inside: avoid;
	font-variant: small-caps;
	hyphens: none;
	adobe-text-layout: optimizeSpeed; /* For Nook */
	adobe-hyphenate: none;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-epub-hyphens: none;
	margin-top: 3em;
	margin-right: 0;
	margin-bottom: 3em;
	margin-left: 0;
	text-align: center;
}
And again, for me, this is why saved search groups were invented and with the conditional run items, it makes it even easier to automatically apply them for my personal use.

Last edited by DNSB; 10-23-2025 at 07:19 PM.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert to kepub removes spaces between words and adds unnecessary CSS DJeBook Kobo Reader 7 01-05-2025 06:44 PM
Standard eBooks is looking for supporters ZodWallop General Discussions 70 08-29-2024 08:43 PM
Clara HD Standard books epub vs kepub and calibre deleted_account23 Kobo Reader 18 06-13-2023 09:41 AM
Standard eBooks: Classic eBooks Remasters Tomifonication Deals and Resources (No Self-Promotion or Affiliate Links) 21 04-28-2019 11:58 PM
Creating epub/kepub books (docx→epub/kepub via MS Word→Calibre) SJC-Caron ePub 18 04-21-2016 11:10 AM


All times are GMT -4. The time now is 07:33 PM.


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