Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-17-2014, 06:14 AM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,623
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
EPUB to EPUB conversion

Hi

I had a curious experience. One of my EPUB did validate fully with the Calibre editor. However, it did not display with iBooks which only gave some terse and unhelpful explanations like:
- "le chargement a échoué car la ressource requise est manquante." One resource is missing (which one, God knows it).
- "Impossible d'ouvrir. il est formaté incorrectement ou n'est pas à un format qu'ibooks peut ouvrir". Bad formatting, or wrong format.

The surprise is that a plain conversion from EPUB to EPUB using Calibre solved the problem, so I hasted to compare the differences between the two books. It would be too long to quote them here. Many made perfect sense (reducing the size of some images, inserting a calibre class everywhere, ... so I will not comment them here.

Some others looked more puzzling to me:

1. - toc.html
I had originally inserted a toc.html made with Calibre. I had moved it at the end of the book but Calibre did not agree and put it back at the front...

2. - meta http-equiv?
- this sentence was systematically inserted under the <head> of every file, under the title tag:
<meta hhtp-equiv="Content-Type" content="text/html; charset=utf-8"/>
Is this a way to "compensate" from the absence of a DOCTYPE?
- also the xml declaration was made slightly longer. lang="fr" became xml:lang="fr"

3. - splitting files instead of manual pagebreaks
Manual pagebreaks (<p class="break"> </p>) were systematically replaced by a split file (even if this was for a small paragraph)

4. - Embedded font file suppressed
The com.apple.ibooks.display-options.xml file was suppressed though I had embedded fonts. The fonts were correctly displayed. Is this file useless?

Last edited by roger64; 05-17-2014 at 06:17 AM.
roger64 is offline   Reply With Quote
Old 05-17-2014, 09:30 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Conversion does many, many things to make sure its output works across all devices.

1. I'd guess this is because of a non-linear spine item

2. That's an ecoding declaration, it's there for redundancy.

3. Splittling files at page breaks is a good tyhing, makes your epub work faster on limited devices. There is a conversion option to turn it off.

4. IIRC that file is obsolete with newer versions of ibooks, though since I never touch ibooks with a 10 foot barge pole, I cant be sure.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-17-2014, 11:07 AM   #3
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,623
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Thanks for your reply and your informations.

I will have a look at the conversion options.
roger64 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Title Page Issue - ePub to ePub conversion library addict Calibre 2 11-24-2013 02:38 PM
ePub to ePub conversion for Kobo Touch — some questions/observations, etc. theboyk Conversion 13 10-02-2012 04:11 AM
epub to epub conversion problem with regex spanning multiple input files ctop Conversion 2 02-12-2012 01:56 AM
Why, During ePub to ePub Conversion does Calibre changes existing CSS classes? JSWolf Conversion 7 08-06-2011 07:32 PM
Multi-level TOC broken in epub->epub conversion siebert Conversion 14 03-09-2011 05:38 PM


All times are GMT -4. The time now is 07:56 AM.


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