![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Oct 2016
Device: MOBI and ePub
|
InDesign to Calibre to ePub
I've used InDesign to create my ePub file which I checked on ebookflightdeck.com and discovered some errors. Here are two errors I need to correct and I'm wondering if Calibre can correct them or help me correct them?:
These files include inline styles. OEBPS/cover.xhtml Content and presentation should be separate in EPUB files. Inline styles are difficult to edit easily and are not the best approach. We recommend that you move all of your styles to an external stylesheet. This EPUB contains content files over 300 KB in size. While there is no formal standard regarding individual file sizes, larger file sizes can slow down the loading and response time on older eBook devices. Also, some major devices in the marketplace use the Adobe RMSDK, and that display engine has a hard limit of 300 KB on all content files. Please consider breaking these files into multiple parts to keep them under this limit. See this file: OEBPS/Diane's_Cookbook_EPUB_3.xhtml |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you want to correct those warnings automatically, run an EPUB to EPUB conversion in calibre. Otherwise use the editor to correct them manually. If you dont understand them, ask in the workshop or epub forums here for help.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Oct 2016
Device: MOBI and ePub
|
Thank you for the reply. Unfortunately your suggestion to correct those warnings automatically by run an EPUB to EPUB conversion in calibre failed to produce the same quality eBook I have before then EPUB to EPUB conversion. The final product didn't have the cover image some of the initial pages where moved to a different location. Images were pixelated which were once fine and clear. If you ask me this program sucks.
|
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,944
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Each one of your complaints was because of something you failed to control to prevent DEFAULTS from being used. DEFAULTS are what the MAJORITY of users use. ![]() |
|
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Oct 2016
Device: MOBI and ePub
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,944
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Many viewer tolerate errors. Calibre tries to fix those so the Many, become MOST.
BUT, in this case conversions use (updates) the Latest Metadata (inc cover) from the Library. You don't seem to need/want that default |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Oct 2016
Device: MOBI and ePub
|
You say your willing to help if I'm willing to brainstorm correct? Well I'm brainstorming and have not yet figured out why the "titlepage.xhtml" will not display the image it's suppose to. I did change the referenced image file size from 600 x 800 to the actual size of the image hoping that would fix it but it didn't. At present I'm still working on the TOC text styles that appear fine in the ebook-editor preview window, but the actual file when exported as an ePub looks different like it's using justify instead of left align.
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Oct 2016
Device: MOBI and ePub
|
Well I've got about everything I can think of corrected or fixed except the "titlepage.xhtml" which will not display properly the image that is there. This one problem totally perplexes me.
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,054
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
Perhaps you could post the code you are using for this. |
|
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Oct 2016
Device: MOBI and ePub
|
Quote:
Code:
<?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta name="calibre:cover" content="true"/> <title>Cover</title> <style type="text/css" title="override_css"> @page {padding: 0pt; margin:0pt} body { text-align: center; padding:0pt; margin: 0pt; } </style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> </head> <body> <div> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 600 800" preserveAspectRatio="none"> <image width="600" height="800" xlink:href="OEBPS/cover.xhtml"/> </svg> </div> </body> </html> Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css"> /*<![CDATA[*/ body.sgc-1 {margin: 0px; text-align: center;} /*]]>*/ </style> </head> <body class="sgc-1"> <div><img alt="" src=“Cover File.gif” /><img alt="Image" src="OEBPS/image/Cover%20File.gif" /></div> </body> </html> |
|
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Oct 2016
Device: MOBI and ePub
|
After export I discovered a couple more problems. One is the the images I updated didn't end up getting updated. I think the problem is the program defaults to 72 dpi for all image exports. Therefore I need to find some way to correct that.
|
![]() |
![]() |
![]() |
#12 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,661
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@sperry1975 -I've sort of lost track of where you're at with this. But to prevent image re-scaling in Conversion try setting Page Setup->Output Device to Tablet.
BR |
![]() |
![]() |
![]() |
#13 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,944
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Your second code exanple was from a old Sigil edit
.sgc-1 was the giveaway ![]() BR pointed to the SIZE issue. Calibre uses the best size for the Device you declared (800x600 in this case). |
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Oct 2016
Device: MOBI and ePub
|
The trouble is I need it to export at no less than 150 dpi because any less degrades the image so much so that one can't make out what it says. Therefore if I export for a tablet device can the same ePub file then be used on an iPhone or equivalent?
|
![]() |
![]() |
![]() |
#15 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,661
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
As I understand it, IOS will scale images to the device it's running on, I would be flabbergasted if Android platforms didn't do the same. I suspect e-reader devices such as Kindle, Kobo and the boatload of other e-readers are more likely barf on images of wrong size/weight/density/genre etc.
BR |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
MS WORD > InDesign >Epub | venturacottage | ePub | 3 | 10-03-2014 10:38 AM |
Indesign to epub | suzanneskifirst | ePub | 10 | 07-05-2011 03:36 AM |
EPUB Expert Needed: Cant properly export epub from InDesign | crottmann | ePub | 17 | 08-27-2010 10:23 AM |
Calibre as part of InDesign epub workflow | GRiker | Calibre | 3 | 09-18-2009 12:44 PM |
InDesign and epub | FredD | ePub | 2 | 04-13-2009 08:38 PM |