09-07-2023, 10:09 AM | #1 |
Connoisseur
Posts: 66
Karma: 10
Join Date: Jul 2023
Device: None
|
Problems with an ePub displaying properly in Reasily and ReadEra
Greetings,
I am having some problems with an ePub displaying properly in Reasily and ReadEra. Overall ReadEra displays only two problems: * Single page reading mode: the chapter "Camp Roster" is split into two pages. * Continuous page reading mode: the chapter "Camp Roster" is terminated after the first page. As you will see there are numerous problems in ReadEra: text is not centered, paragraphs are indented, pages area split, etc. I am hoping someone will have the time and interest to look at my ePub file and help me find out what is causing these problems. There are screen shots here: https://www.EpicRoadTrips.us/reasily_read_era/ The ePub file is here: https://drive.google.com/file/d/1sjs...ew?usp=sharing Thanks, WV-Mike |
09-07-2023, 11:25 AM | #2 |
Resident Curmudgeon
Posts: 76,460
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The ePub has a number of errors and structural mistakes. It needs to be fixed.
|
Advert | |
|
09-07-2023, 11:34 AM | #3 |
Connoisseur
Posts: 66
Karma: 10
Join Date: Jul 2023
Device: None
|
|
09-07-2023, 12:31 PM | #4 | |
the rook, bossing Never.
Posts: 12,368
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Check Book
Quote:
Edit it as an odt in LO Writer using paragraph styles, no direct formatting except for italic, bold, superscript and subscript. Final Extra Save As in Docx, then convert that to epub in Calibre. There will be no errors. Load it yourself in Calibre Edit Book by right click on File. |
|
09-07-2023, 12:33 PM | #5 |
the rook, bossing Never.
Posts: 12,368
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
|
Advert | |
|
09-07-2023, 12:59 PM | #6 | |
Connoisseur
Posts: 66
Karma: 10
Join Date: Jul 2023
Device: None
|
Quote:
I will look at what you have found and have a stab at it. Thanks, -Mike |
|
09-07-2023, 01:17 PM | #7 | |
Resident Curmudgeon
Posts: 76,460
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
09-07-2023, 01:25 PM | #8 | |
Connoisseur
Posts: 66
Karma: 10
Join Date: Jul 2023
Device: None
|
Quote:
ERROR (RSC-005) at "1mnc_calibre.epub/OEBPS/Text/introduction.xhtml" (line 7, col 10): Error while parsing file: element "style" missing required attribute "type" The problem appears to be to be in this: <head> <title>Introduction</title> <link href="../Styles/mnc_toc.css" type="text/css" rel="stylesheet"/> <style> div.container { text-align: center; } ol.mnc { display: inline-block; text-align: left; font: 16px Arial, sans-serif; } </style> </head> Knowing what the error is does not help me correct it. I need some guidance here. WV-Mike |
|
09-07-2023, 02:00 PM | #9 | |
the rook, bossing Never.
Posts: 12,368
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
Putting it into a word processor never fixes the errors automatically. Manual reformatting the word doc styles in in this case. would help. It's just a less error prone way of making ebooks if you understand paragraph styles. They map 1:1 to CSS and there are never epub errors if a word processor document is done correctly. Of course GIGO applies. A badly done document will give a poor epub, though it will lack most of the errors this example has. Last edited by Quoth; 09-07-2023 at 02:08 PM. |
|
09-07-2023, 02:11 PM | #10 | |
the rook, bossing Never.
Posts: 12,368
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
Where did this come from, or what was the creation work flow? |
|
09-07-2023, 02:21 PM | #11 |
Bibliophagist
Posts: 40,573
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For what it's worth, I took a look at the epub. It's a mess. One example is here where a second <title> tag is inside the body tag along with the <style> tag.
Code:
<head> <title></title></head> <body> <title>ACKNOWLEDGEMENTS</title> <link href="../Styles/mnc_toc.css" type="text/css" rel="stylesheet"/> <style> div.container { text-align: center; } ol.mnc { display: inline-block; text-align: left; font: 16px Arial, sans-serif; } </style> I did a quick and dirty 5 minutes cleanup and have attached that file to this message. I hope that looking at what was done will give you some help. |
09-07-2023, 03:20 PM | #12 | |
Connoisseur
Posts: 66
Karma: 10
Join Date: Jul 2023
Device: None
|
Quote:
All of them are: ERROR (RSC-005) at "10mnc_calibre.epub/OEBPS/Text/introduction.xhtml" (line 7, col 10): Error while parsing file: element "style" missing required attribute "type" I removed all of those from all the files and, as you did, I added: div.container { text-align: center; } ol.mnc { display: inline-block; text-align: left; font: 16px Arial, sans-serif; } to the CSS file. Here is the Pagina log file now: --- Validating using EPUB version 2.0.1 rules. (https://github.com/w3c/epubcheck) September 7, 2023 1:59:46 PM EDT No errors or warnings detected. EPUB is valid! --- However, I still have a problem with the font. In your version the SmallCaps are displayed. In mine they are not. I will work on this. And, all of the original problems I reported are still there. So, it validates with no errors but it made no difference as it relates to what I was hoping to correct. Now what do I do? Many thanks to all !! WV-Mike |
|
09-07-2023, 03:23 PM | #13 | |
Connoisseur
Posts: 66
Karma: 10
Join Date: Jul 2023
Device: None
|
Quote:
I can't even remember now. I have been fiddling with it for so long it is a confused mess. Yes, I am a dinosaur - I still use inline style now and then. WV-Mike |
|
09-07-2023, 03:55 PM | #14 | ||
Bibliophagist
Posts: 40,573
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
@font-face { font-family: 'SmallCaps'; font-weight: bold; font-style: normal; font-variant: small-caps; src: url(../Fonts/Fontin-SmallCaps.otf); Quote:
I've attached an image of checking your original epub with pagina 2.1.0. The CSS-008 error at the end of the error list is that missing } which likely makes the font identification impossible. |
||
09-07-2023, 04:23 PM | #15 | |
Resident Curmudgeon
Posts: 76,460
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Images not displaying properly in iBooks | eggheadbooks1 | ePub | 18 | 12-08-2015 11:50 PM |
Search results not displaying properly | BunnyGal | Library Management | 9 | 01-28-2014 06:25 AM |
Troubleshooting Quotes/Apostrophe not displaying properly | nessin | Amazon Kindle | 0 | 02-18-2013 12:30 AM |
It's Not Displaying The Book Properly Now | Nightgazer | Library Management | 4 | 11-27-2012 03:11 PM |
301 screen not displaying properly please help. | bobgoe | PocketBook | 3 | 02-01-2012 05:55 AM |