Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book General > General Discussions

Notices

Reply
 
Thread Tools Search this Thread
Old 12-25-2020, 06:29 PM   #16
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Here's a link to that specific book's css files: https://github.com/standardebooks/fr...r/src/epub/css
ownedbycats is online now   Reply With Quote
Old 12-25-2020, 07:38 PM   #17
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,329
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by robin_reala View Post
I’ve just built and extracted the kepub for that book and logo.png is in there and referenced correctly. cover.png isn’t, but cover.jpg is and is referenced from the manifest with a cover-image properties.

Potentially you’ve got an older version? We do find and fix bugs, and the corpus is republished when that happens.
I just downloaded the kepub of The Black Star Passes. This copy is slightly different from the older copy. However, it's still not good. When I opened it in Sigil, I got a popup about unmanifested files (see attached image) and when I opened it, the manifest did not have the two .png image files mentioned in it.

I did make an error in my original message. The missing files were logo.png and titlepage.png, cover.jpg was present. The content.opf lines regarding the image files in the newly downloaded copy are below:

Code:
    <item id="cover.jpg" href="images/cover.jpg" media-type="image/jpeg" properties="cover-image"/>
    <item id="logo.svg" href="images/logo.svg" media-type="image/svg+xml"/>
    <item id="titlepage.svg" href="images/titlepage.svg" media-type="image/svg+xml"/>
I edited the content.opf file to correct the two entries to png from svg:

Code:
    <item id="cover.jpg" href="images/cover.jpg" media-type="image/jpeg" properties="cover-image"/>
    <item id="logo.png" href="images/logo.png" media-type="image/png"/>
    <item id="titlepage.png" href="images/titlepage.png" media-type="image/png"/>
And then the logo and titlepage worked.
Attached Thumbnails
Click image for larger version

Name:	Sigil_Opening_message.png
Views:	240
Size:	8.0 KB
ID:	184262   Click image for larger version

Name:	titlepage_prefix.png
Views:	234
Size:	13.0 KB
ID:	184263   Click image for larger version

Name:	titlepage_postfix.png
Views:	243
Size:	23.5 KB
ID:	184264  

Last edited by DNSB; 12-25-2020 at 07:47 PM. Reason: Added titlepage before and after images
DNSB is offline   Reply With Quote
Old 12-25-2020, 08:05 PM   #18
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,792
Karma: 146391129
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 ownedbycats View Post
Here's a link to that specific book's css files: https://github.com/standardebooks/fr...r/src/epub/css
The CSS is a right mess and not compatible for ADE 2.0.1. It's not compatible with the version of RMSDK using on Kobo Readers. So calling it compatible is an out and out lie.
JSWolf is offline   Reply With Quote
Old 12-26-2020, 10:11 AM   #19
robin_reala
Member
robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!
 
Posts: 17
Karma: 100000
Join Date: Dec 2011
Device: Kobo Aura H2O
DNSB: good spot! I’ve replicated, and filed it at https://github.com/standardebooks/tools/issues/384

JSWolf: we don’t attempt to support ADE on Kobo. Our opinion is that the Kobo-specific renderer produces higher quality output. But that doesn’t mean that we shouldn’t fix ADE support for other platforms, so I’ll grab down a copy of ADE 2.0.1 as suggested and see what we can do to improve the rendering there. Thanks for the feedback.
robin_reala is offline   Reply With Quote
Old 12-26-2020, 10:16 AM   #20
robin_reala
Member
robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!robin_reala rocks like Gibraltar!
 
Posts: 17
Karma: 100000
Join Date: Dec 2011
Device: Kobo Aura H2O
…although having gone looking, it seems like 2.0.1 was replaced by ADE 3.0 in 2014? I don’t know the ADE landscape that well, but typically 7 years feels like a decent run. Is your hardware tied to a version that old?
robin_reala is offline   Reply With Quote
Old 12-26-2020, 02:06 PM   #21
acabal
Member
acabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheese
 
Posts: 15
Karma: 1000
Join Date: May 2016
Device: None
Alex, SE Editor-in-Chief here.

The "advanced" epubs are epub3 files that basically assume your ereader is as fully-featured as a modern web browser. They use advanced CSS selectors, SVGs where possible, and make other assumptions for an "ideal" ereader that are basically not true for most/all ereaders on the market today. They're just the ebook's zipped up Git repo source without further modification. If you visit an ebook's SE web page you'll see an option to read the book in your browser, and that file is also the (mostly) raw ebook source as present in the Git repos.

The "compatible" epub takes the "advanced" epubs as the base, then applies various compatibility affordances to make them actually usable on most of today's ereading devices. Selectors are simplified into classes, MathML and SVGs are converted to PNGs, additional compatibility CSS is inserted, and so on. Unlike the "advanced" epubs, the "compatible" epubs should look good in most modern ereaders.

AFAIK the only ereader to do a passable job on the advanced epub is iBooks, and even then it's not perfect. Desktop web browsers render them perfectly but of course a web browser isn't really an "ereader" per se.
acabal is offline   Reply With Quote
Old 12-26-2020, 02:06 PM   #22
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,329
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by robin_reala View Post
…although having gone looking, it seems like 2.0.1 was replaced by ADE 3.0 in 2014? I don’t know the ADE landscape that well, but typically 7 years feels like a decent run. Is your hardware tied to a version that old?
Some people still consider ADE 2.0.1 as the baseline for testing epubs. This is mainly due to quite a few older ereaders using RMSDK where the version of RMSDK is no longer being updated.

If you haven't already picked up a copy of ADE 2.0.1, the link to download it from Adobe's site is: http://download.adobe.com/pub/adobe/..._Installer.exe .
DNSB is offline   Reply With Quote
Old 12-26-2020, 02:08 PM   #23
acabal
Member
acabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheese
 
Posts: 15
Karma: 1000
Join Date: May 2016
Device: None
Quote:
Originally Posted by JSWolf View Post
Advanced ePub is rubbish. It's not needed at all. It's just going to confuse a lot of people. What Advanced ePub is is ePub3 with no backward comparability. There's no need for it since the content is the same as the Comparable ePub. There is nothing advanced about it.

As for well formatted. Not at all.They have huge paragraph spaces and the section breaks are a full line going across the entire page. Then we have the text left justified. And the cover is not programmed to be displayed. So the first page is a titlepage. They look awful because they are awful. They really need to fix the formatting.

OK, I figured out why the formatting is so bad. It's because they have error(s) in the CSS and in that case. ADE ignores the CSS. This is why there formatting is lousy. They need to make the CSS actually valid. RMSDK (ADE) is the most used for displaying ePub and if they are going to botch the CSS, they may as well shut down until they learn CSS.
SE Editor-in-Chief here.

ADE is the IE6 of ereaders. There isn't a whole lot we can do to make things look nice there. Fortunately fewer and fewer devices are shipping with ADE. Kindle of course uses their own renderer for mobi/azw3, and Kobo uses a very good Webkit-based renderer when using kepub files (but importantly, it defaults to ADE when using plain epub, versus kepub, files--that's why we tell people to transfer the kepub files to Kobo readers and not the regular epubs, otherwise ADE will make the ebooks look bad!).

Our CSS does not have errors. It is perfectly valid CSS and our epubs are perfectly valid epubs that pass epubcheck. The problem is ADE, which is an old and bad renderer that should be abandoned as fast as possible.

Last edited by acabal; 12-26-2020 at 02:13 PM.
acabal is offline   Reply With Quote
Old 12-26-2020, 02:25 PM   #24
acabal
Member
acabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheese
 
Posts: 15
Karma: 1000
Join Date: May 2016
Device: None
Quote:
Originally Posted by DNSB View Post
Some people still consider ADE 2.0.1 as the baseline for testing epubs. This is mainly due to quite a few older ereaders using RMSDK where the version of RMSDK is no longer being updated.

If you haven't already picked up a copy of ADE 2.0.1, the link to download it from Adobe's site is: http://download.adobe.com/pub/adobe/..._Installer.exe .
Unfortunately we're not going to be able to offer a whole lot of support for ADE 2.0.1, which looks like it's from 2012. Our compatible epubs should hopefully look somewhat acceptable on them, since in the "compatible" epubs we replace advanced CSS selectors with class selectors. But don't expect to be able to use our "advanced" epubs (which don't look good on today's software, let alone software from 2012) on any version of ADE this century.

I sympathize with people who bought into platforms that no longer offer updates. The ereader device space is one with little competition and even less technical enthusiasm, so options are limited and it can be frustrating to spend a lot of money on a device that just a few years later is stuck with obsolete software. But our project aims at modern standards, produced at a volunteer-time pace, so the amount of effort we can put in to supporting 8-year-old software that was bad even in 2012 is limited.
acabal is offline   Reply With Quote
Old 12-26-2020, 04:04 PM   #25
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,792
Karma: 146391129
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 robin_reala View Post
DNSB: good spot! I’ve replicated, and filed it at https://github.com/standardebooks/tools/issues/384

JSWolf: we don’t attempt to support ADE on Kobo. Our opinion is that the Kobo-specific renderer produces higher quality output. But that doesn’t mean that we shouldn’t fix ADE support for other platforms, so I’ll grab down a copy of ADE 2.0.1 as suggested and see what we can do to improve the rendering there. Thanks for the feedback.
I have to disagree that KePub produces better quality output. RMSDK (ADE) on a kobo can produce better quality output. But regardless, there are Readers out there what use RMSDK such as Sony Readers and the eBooks would not display properly

One other issue is that the CSS has the eBook being left justified. It should be full justified because Kobo does not support hyphenation with left justified eBooks.
JSWolf is offline   Reply With Quote
Old 12-26-2020, 04:09 PM   #26
acabal
Member
acabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheese
 
Posts: 15
Karma: 1000
Join Date: May 2016
Device: None
Quote:
Originally Posted by DNSB View Post
I just downloaded the kepub of The Black Star Passes. This copy is slightly different from the older copy. However, it's still not good. When I opened it in Sigil, I got a popup about unmanifested files (see attached image) and when I opened it, the manifest did not have the two .png image files mentioned in it.

I did make an error in my original message. The missing files were logo.png and titlepage.png, cover.jpg was present. The content.opf lines regarding the image files in the newly downloaded copy are below:
This was a bug in our build chain, which I've now fixed. Thanks for bringing it up. The next version of our toolset should be released this week hopefully, and then the entire corpus will be rebuilt to fix this. Fortunately it doesn't seem to affect the actual reading experience.
acabal is offline   Reply With Quote
Old 12-26-2020, 04:13 PM   #27
acabal
Member
acabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheese
 
Posts: 15
Karma: 1000
Join Date: May 2016
Device: None
Quote:
Originally Posted by JSWolf View Post
I have to disagree that KePub produces better quality output. RMSDK (ADE) on a kobo can produce better quality output. But regardless, there are Readers out there what use RMSDK such as Sony Readers and the eBooks would not display properly

One other issue is that the CSS has the eBook being left justified. It should be full justified because Kobo does not support hyphenation with left justified eBooks.
Kepub triggers Kobo's Webkit renderer which is miles ahead of anything Adobe has put out. As long as you're using our specially-prepared kepub file on your Kobo and not any other file, it should look much better. If you ignore our suggestion and use some other file, then all bets are off. Of course I'd love it if Kobo used their Webkit renderer on regular epubs (and not just kepubs) but that's Kobo's problem and not ours.

We do not specify text justification except in special formatting circumstances like poetry. I don't know where else you'd be seeing that.

Last edited by acabal; 12-26-2020 at 04:15 PM.
acabal is offline   Reply With Quote
Old 12-26-2020, 04:40 PM   #28
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,792
Karma: 146391129
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 acabal View Post
Unfortunately we're not going to be able to offer a whole lot of support for ADE 2.0.1, which looks like it's from 2012. Our compatible epubs should hopefully look somewhat acceptable on them, since in the "compatible" epubs we replace advanced CSS selectors with class selectors. But don't expect to be able to use our "advanced" epubs (which don't look good on today's software, let alone software from 2012) on any version of ADE this century.
That's untrue that you cannot get your compatible ePub to work with ADE. The reason your compatible ePub doesn't work is because of error(s) in the CSS. ADE ignores the CSS entirely if it finds an error and ADE has found an error. Your CSS is way much of a mess and too complex for the formatting of the eBooks. Why not just use simple CSS unless the formatting calls for something more complex. You "house" CSS needs to go as it doesn't work. And you

Quote:
I sympathize with people who bought into platforms that no longer offer updates. The ereader device space is one with little competition and even less technical enthusiasm, so options are limited and it can be frustrating to spend a lot of money on a device that just a few years later is stuck with obsolete software. But our project aims at modern standards, produced at a volunteer-time pace, so the amount of effort we can put in to supporting 8-year-old software that was bad even in 2012 is limited.
I have to say that these "modern" standards are not actually all that well supported. This is why your eBooks do not look good in most ePub reading software INCLUDING KePub on Kobo.

Your advanced ePub could work much better if you just got rid of all the "advanced" stuff that you do not need. The rule in making eBooks is to keep the code as simple as possible and you keep it as complicated as possible. Any professional eBook maker on Mobileread will tell you that your code is lousy.

As for people buying old platforms, a lot of people did not buy old platforms. They bough current platforms that are now not being supported and not everyone has the money to upgrade to a new Reader.

So please stop saying that you have to support the latest standard that are very poorly supported. You code is over-the-top and if you made your code properly your eBooks would work. They do not have to be made to only work with Books on iOS. So please stop say you cannot support ADE 2.0.1. You can if you wanted to. I cannot see most public domain books needing such code as you use. Your code is rubbish and needs to be scrapped and started over from the ground up.

Would you like me to take one of your eBooks and show you what compatible really means as you obviously have no idea what the word compatible means. It's not compatible. So please fix your listing and replace the word Compatible with Incompatible.
JSWolf is offline   Reply With Quote
Old 12-26-2020, 04:42 PM   #29
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
ownedbycats is online now   Reply With Quote
Old 12-26-2020, 04:57 PM   #30
acabal
Member
acabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheeseacabal can extract oil from cheese
 
Posts: 15
Karma: 1000
Join Date: May 2016
Device: None
Quote:
Originally Posted by JSWolf View Post
The reason your compatible ePub doesn't work is because of error(s) in the CSS. ADE ignores the CSS entirely if it finds an error and ADE has found an error.
Perhaps you are unfamiliar with modern CSS. Again, our CSS is perfectly valid modern CSS. You may even unzip one of our "advanced" epubs and open any of its XHTML files in your desktop web browser to confirm that your browser understands our CSS perfectly. The fact that software from 2012 does not understand it, does not make it invalid. it means you're using software that is too old. I would not expect a website designed in 2020 to render correctly on Netscape Navigator, and we will also not be making our epubs compatible on abacuses.

Additionally, the CSS you're pointing to is from our "advanced" epub, which again you should not be using on any ADE platform. The "compatible" epub is processed to simplify (most) complex selectors to class selectors which just about any ereading system can understand. This resulting CSS in the processed ebook is less readable, but it's not meant to be readable; it has been processed by an automated build chain.

Quote:
Originally Posted by JSWolf View Post
So please stop say you cannot support ADE 2.0.1. You can if you wanted to. I cannot see most public domain books needing such code as you use. Your code is rubbish and needs to be scrapped and started over from the ground up.
We are a group of volunteers and our time is limited. Instead of being aggressively rude about it, literally calling us liars and insulting the hard work of volunteers who gave it to you for free, you are free to volunteer to improve it yourself. I'm surprised they allow that kind of rudeness on these forums. We would certainly not allow it on our mailing list.

Last edited by acabal; 12-26-2020 at 05:37 PM.
acabal is offline   Reply With Quote
Reply

Tags
standard ebooks


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre - Standard-Einstellung für "veröffentlicht" Massreader Software 0 06-08-2019 09:35 AM
How to use "search_replace" code in advanced fetch news mode?? hiyoungin Recipes 2 02-24-2019 08:08 PM
Fire "front-end" on a standard Android tablet? rcentros Kindle Fire 2 05-30-2015 03:50 AM
Overdrive Advanced Search "Added to Site" Tom SKP General Discussions 13 05-05-2015 09:09 PM
Cybook Gen3 pricing - "standard practice", says Bookeen Alexander Turcic Bookeen 62 03-29-2008 11:58 AM


All times are GMT -4. The time now is 05:12 PM.


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