View Single Post
Old 07-10-2022, 09:34 PM   #19
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 792
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
Quote:
Originally Posted by romad View Post
OK, Let's see if this worked.
That scrambled book looks fine in both Calibre's viewer and on my Kobo Forma.
In the Calibre editor, everything looks ok to me (I only dabble). There's nothing odd going on with the classes/styles in there that I can see and they look fairly simple.

Again, I'd guess it's some kind of odd issue with MapleRead. JSWolf's suggestion of something to do with the left margin in the viewer sounds good. But, why it would show up only occasionally, I don't know.

EDIT: Let me qualify the above. In the editor, by "ok," I mean that I don't see anything obvious that would shift your pages like you're seeing. But, there are some issue with the files. Running "Check Books" in the editor give a lot of invalid ids. But, I run across that a lot. The more problematic stuff is from running the epubCheck plugin. There are quite a few things in there that it doesn't like, but I'd guess most of them are caused by the same things:

- classes in the <html xmlns="http://www.w3.org/1999/xhtml" class="calibre"> line near the top of each file
- <b> types of things outside of paragraphs or divisions.

Even though it looks trivial, probably the most troublesome thing is that whoever formatted this, wrapped most of the body of the text in <b> </b> elements:

<b>
<p>...
<p>...
...
</b>

My understanding is that those bold elements need to be inside containers, or preferably in the classes/styles (add "font-weight: bold;" to all appropriate classes on the stylesheet). Maybe that has something to do with the issue. But if so, it's not obvious to me.

Last edited by enuddleyarbl; 07-10-2022 at 10:20 PM.
enuddleyarbl is offline   Reply With Quote