![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48
Karma: 500154
Join Date: Aug 2009
Device: Kindle 3, Sony PRS505
|
EPUB not displayed properly in Prestigio 3162
I did some EPUB books using Sigil. It displays perfectly on most readers except on Prestigio 3162. When I convert it through calibre EPUB-EPUB it works ok so it only does not display Sigil-made EPUB correctly. Anyone knows what could be the problem?
|
![]() |
![]() |
![]() |
#2 | |
Berti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
It could be anything, including a cosmic gamma-ray. At last I didn't know what's the format of Prestigio. epub, mobi lrf, pdf, irf ....
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,889
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Since you furnished zilch about this EPUB, we can only guess The most common device error is really not an EPUB error: Sections are just too big and the device chokes. ![]() |
|
![]() |
![]() |
![]() |
#4 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48
Karma: 500154
Join Date: Aug 2009
Device: Kindle 3, Sony PRS505
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48
Karma: 500154
Join Date: Aug 2009
Device: Kindle 3, Sony PRS505
|
Quote:
Yes many users of Prestigio e-ink e-book reader are forced to re-convert epub to epub again using Calibre to be able to see the text normally. I wondered if there is something in system of Prestigio that doesn't recognise styles given in Sigil |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Off the top of my head, I can't think why a Calibre ePUB would of necessity display a "chapter break" (new file) versus a Sigil ePUB, unless there's something in Prestigio's interpreter/renderer (do you know which it is?) that uses heading style CSS in lieu of the ncx...?? Dunno. Kovid or user_none might have insight into this peculiarity. Hitch |
|
![]() |
![]() |
![]() |
#7 | |
Berti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Quote:
If you want us to have a look on your book, go ahead. I don't have specific knowledege with the prestigio (you might have guessed it ![]() Maybe it's a good idea to compare the content.opf of a working convertion to get an idea, which changes calibre made, and which one causes the problem. |
|
![]() |
![]() |
![]() |
#8 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,889
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() IIRC Calibre convert will split on chapter by default. |
|
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48
Karma: 500154
Join Date: Aug 2009
Device: Kindle 3, Sony PRS505
|
Thank you all for your answers. My guess was it was up to prestigio software. I really don't know what interpreter it uses. Will have to find out. It didn't display chapter break although the chapter was the new xhtml file and it didn't recognise headings so it didn't recognise TOC and it didn't recognise some styles. Here I give styles from the stylesheet
p {margin-top: 0pt; margin-bottom: 0pt; padding-top: 2pt; padding-bottom: 2pt; text-indent: 2em; text-align:justify;} h1 {font-size: 4em; text-align: center; padding-top: 5em;} h2 {font-size: 2em; text-align: center; padding-top: 10em; page-break-after: always;} h3 {font-size: 1.5em; text-align: center; padding-top: 1em; padding-bottom: 0.5em;} .CB {font-size: 1.2em; font-weight: bold; text-indent: 0; text-align: center; padding-top: 1.5em; padding-bottom: 0.5em;} .CB1 {font-size: 1.0em; font-style: italic; text-indent: 0; text-align: center; padding-top: 1.5em; padding-bottom: 0.5em;} it totally ignored them I will post photo how it looked and part of the code of the page. Just please in the stylesheet ignore h1 and h2 styles I haven't used them in this book only h3. Last edited by The CB; 03-11-2012 at 04:51 PM. |
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48
Karma: 500154
Join Date: Aug 2009
Device: Kindle 3, Sony PRS505
|
![]() And here is the part of that exact page. I have to do it like this because I am not sure if I am allowed to post this book here now. <body> <p class="CB">J. G. Ballard:</p> <p class="CB">Memories of the Space Age</p> <p class="CB1">Preveo Žarko Vodinelić</p> <h3 id="heading_id_2">Sjećanje na svemirsko doba</h3> <p>Cijeli je dan taj čudni pilot ..........poput komadića uznemirena uma.</p> <p>Sa svoga balkona Mallory je .......... napuklog betona.</p> I shortened the paragraphs no need for them to be in entire length. And the part of the text that you can see above "J. G. Ballard" is from the previous file-chapter. I hope you can see and understand what I am talking about here. Last edited by The CB; 03-11-2012 at 04:49 PM. |
![]() |
![]() |
![]() |
#11 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,889
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You have 3 lines of text Before the H3 heading, the normal anchor point. the H3 style does not have a page-break-before: always (which will also orphan those 3 lines I mentioned. ![]() <p class="CB pagebreak"> and have a style: .pagebreak {page-break-before: always } |
|
![]() |
![]() |
![]() |
#12 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48
Karma: 500154
Join Date: Aug 2009
Device: Kindle 3, Sony PRS505
|
Quote:
I admit I did some silly format there with those paragraphs before the first anchor point and I wondered if that would work and was happy when it did, untill Prestigio came to act :-( I will try to reorganize these chapters and see how it goes then. I am just worried that this was not the first ebook that didn't display correctly in that reader. I am talking about books with normal postion of anchor points :-(Sometimes it doesn't even want to open the book edited in Sigil until it is not reconverted in Calibre. Will have to compare what calibre makes there. Last edited by The CB; 03-11-2012 at 05:18 PM. |
|
![]() |
![]() |
![]() |
#13 | |
Berti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Quote:
From the picture i can see, that it ignores totally any style. I made a little epub an run it through callibre to see, what will happen. First it changes the name of the stylesheet, please check the spelling of your original (link in header). Sometimes the naming of the Stylesheet is case sensitive. Second it makes some additional declarations in content.opf (i expected this) this could be the solution, just give it a try Code:
<metadata xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:opf="http://www.idpf.org/2007/opf" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> Concerning "page-breaks": Have you considered to make a special format for a <div> to put pagebreaks to any position within the text ? Afaik theres no need to watch out for anchors.... Well I don't find something really obvious, just a bit trial and error ... |
|
![]() |
![]() |
![]() |
#14 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48
Karma: 500154
Join Date: Aug 2009
Device: Kindle 3, Sony PRS505
|
Thank you for your effort I will check everything and will test it until I find the way. Thank you all for the guidance and suggestions. I just hope I will be able to save as much as possible of my styles.
|
![]() |
![]() |
![]() |
#15 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
It's ignoring more than just the pagebreaks; it's ignoring what should be a break between the paragraph styled thusly:
Code:
<p class="CB1">Preveo Žarko Vodinelić</p> Code:
<h3 id="heading_id_2">Sjećanje na svemirsko doba</h3> You can post parts of books even under fair use--if you simply had some bits of code here and a small part of a book, I would THINK (you should check with the forum owner and whomever owns the book, if it's a client) that you would be all right to post some small parts here for us to look at, but something very odd, unrelated to Sigil, I'd say, is occurring here. @mmat: I don't see why the metadata declaration from Calibre would have any effect whatsoever on this peculiar behavior; something is, I suspect, cascading DOWN and wreaking havoc with what we see here before us. @CB: are you using an xgpt? Or page-level (file-level) divs? Or...??? What other reading DEVICES and/or software have you actually tested on, in which it works, and what is the name of your actual stylesheet file and what is your styling declaration inside the header, pls? Hitch |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aldiko Bookshelf Epub Name isn't displayed | gucky | Android Devices | 0 | 04-07-2011 05:13 AM |
Why Adobe doesn't support ePub properly? | carmelra | General Discussions | 11 | 03-09-2011 04:23 PM |
EPUB Expert Needed: Cant properly export epub from InDesign | crottmann | ePub | 17 | 08-27-2010 10:23 AM |
PRS-300 Turkish characters aren't displayed properly | basadam | Sony Reader | 2 | 04-10-2010 03:54 PM |
Properly formatted PDFs to Epub | AgentBEATS | Calibre | 10 | 11-01-2009 11:02 PM |