Bookshelf | Reports | Community | KDP Select

Home » Amazon KDP Support » Ask the Community » Formatting

Thread: Kindle Previewer Not Converting Epub file properly


Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 5 - Pages: 1 - Last Post: Oct 5, 2017 9:24 AM Last Post By: Edmund Fen
Catholic Match

Posts: 2
Registered: 05/03/16
Kindle Previewer Not Converting Epub file properly
Posted: Oct 3, 2017 12:34 PM
Click to report abuse...   Click to reply to this thread Reply
Hello everyone.

I have run into an issue that has me stumped. I am trying to create a mobi file from an epub file that I have exported from Apple Pages. Kindle Previewer generated the file with a screwed up TOC, and it is not displaying the pages properly - starting 3/4 of the way through the book, rather than at the beginning. However, when I go to the TOC inside of KP, I can manually locate the pages and then click arrows to view - they are all there - just not showing up in order.

It gave me the following warning (it's pretty long - my apologies for posting here, but I am at my wit's end~):

*************************************************************
Amazon kindlegen(MAC OSX) V2.9 build 1028-0897292
A command line e-book compiler
Copyright Amazon.com and its Affiliates 2014
*************************************************************

Info:I9026:option: (hidden) amazon creator tool or pipeline
Info:I9014:option: -verbose: Verbose output
Info(prcgen):I1048: Unpacking ePub file
Info(prcgen):I1047: Added metadata dc:Title "CGBS-no-pay"
Info(prcgen):I1047: Added metadata dc:Date "2017-10-03"
Info(prcgen):I1047: Added metadata dc:Creator "CatholicMatch"
Info(prcgen):I1047: Added metadata dc:Contributor "Pages v5.6.2"
Info(prcgen):I1002: Parsing files 0000010
Info(prcgen):I1003: Parsing file URL: cover.xhtml
Info(prcgen):I1003: Parsing file URL: chapter-1.xhtml
Info(prcgen):I1003: Parsing file URL: chapter-2.xhtml
Info(prcgen):I1003: Parsing file URL: chapter-3.xhtml
Info(prcgen):I1003: Parsing file URL: chapter-4.xhtml
Info(prcgen):I1003: Parsing file URL: chapter-5.xhtml
Info(prcgen):I1003: Parsing file URL: chapter-6.xhtml
Info(prcgen):I1003: Parsing file URL: chapter-7.xhtml
Info(prcgen):I1003: Parsing file URL: chapter-8.xhtml
Info(prcgen):I1003: Parsing file URL: chapter-9.xhtml
Info(prcgen):I1015: Building PRC file
Info(prcgen):I1006: Resolving hyperlinks
Info(prcgen):I1010: Writing hyperlinks
Info(prcgen):I1008: Resolving start reading location
Warning(prcgen):W14016: Cover not specified
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/Pope-Ad-1.jpg"
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/Pope-Ad-2.jpg"
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/Pope-Ad-3.jpg"
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/Pope-Ad-5.jpg"
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/Pope-Ad-6.jpg"
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/St-Raph-Ad.jpg"
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/ebrochures.jpg"
Info(prcgen):I1014: Converting and merging media file "/tmp/mbt-wqWDTv7E1_A_3_E_30_2B_33_78D_A060F1D4_A"
Info(pagemap):I8000: No Page map found in the book
Info(prcgen/inflections):I1012: Compiling inflections
Info(prcgen):I1019: Building index into record 0000000 Index name: $NCX
Info(prcgen):I1026: Unicode index using utf-8 encoding
Info(prcgen):I1045: Computing UNICODE ranges used in the book
Info(prcgen):I1046: Found UNICODE range: Basic Latin http://20..7E
Info(prcgen):I1046: Found UNICODE range: General Punctuation - Windows 1252 http://2018..201A
Info(prcgen):I1046: Found UNICODE range: Specials http://FFF0..FFFD
Info(prcgen):I1017: Building PRC file, record count: 0000061
Info(prcgen):I1018: Building PRC file record 0000000
Info(prcgen):I1018: Building PRC file record 0000002
Info(prcgen):I1018: Building PRC file record 0000004
Info(prcgen):I1018: Building PRC file record 0000006
Info(prcgen):I1018: Building PRC file record 0000008
Info(prcgen):I1018: Building PRC file record 0000010
Info(prcgen):I1018: Building PRC file record 0000012
Info(prcgen):I1018: Building PRC file record 0000014
Info(prcgen):I1018: Building PRC file record 0000016
Info(prcgen):I1018: Building PRC file record 0000018
Info(prcgen):I1018: Building PRC file record 0000020
Info(prcgen):I1018: Building PRC file record 0000022
Info(prcgen):I1018: Building PRC file record 0000024
Info(prcgen):I1018: Building PRC file record 0000026
Info(prcgen):I1018: Building PRC file record 0000028
Info(prcgen):I1018: Building PRC file record 0000030
Info(prcgen):I1018: Building PRC file record 0000032
Info(prcgen):I1018: Building PRC file record 0000034
Info(prcgen):I1018: Building PRC file record 0000036
Info(prcgen):I1018: Building PRC file record 0000038
Info(prcgen):I1018: Building PRC file record 0000040
Info(prcgen):I1018: Building PRC file record 0000042
Info(prcgen):I1018: Building PRC file record 0000044
Info(prcgen):I1018: Building PRC file record 0000046
Info(prcgen):I1018: Building PRC file record 0000048
Info(prcgen):I1018: Building PRC file record 0000050
Info(prcgen):I1018: Building PRC file record 0000052
Info(prcgen):I1018: Building PRC file record 0000054
Info(prcgen):I1018: Building PRC file record 0000056
Info(prcgen):I1018: Building PRC file record 0000058
Info(prcgen):I1018: Building PRC file record 0000060
Info(prcgen):I1044: Uncompressed record size: 0004096
Info(prcgen):I2001: Final stats - TEXT: 000109193 bytes 000000061 records
Info(prcgen):I2002: Final stats - PICTURES: 000000000 bytes 000000000 records
Info(prcgen):I2003: Final stats - INDEXES: 000001952 bytes 000000003 records
Info(prcgen):I2004: Final stats - TRAILING: 000000447 bytes 000000061 records
Info(prcgen):I2005: Final stats - FRAMES: 000000088 bytes 000000002 records
Info(prcgen):I2006: Final stats - OTHER: 005480189 bytes 000000012 records
Info(prcgen):I2007: Final stats - TOTAL: 005591869 bytes 000000078 records
Info(prcgen):I1039: Final stats - text compressed to (in % of original size): 44.38%
Info(prcgen):I1040: The document identifier is: "CGBS-no-pay"
Info(prcgen):I1041: The file format version is V6
Info(prcgen):I1031: Saving PRC file
Info(prcgen):I1033: PRC built with WARNINGS!
Info(prcgen):I1016: Building enhanced PRC file
Info(prcgen):I1007: Resolving mediaidlinks
Info(prcgen):I1011: Writing mediaidlinks
Info(prcgen):I1009: Resolving guide items
Info(prcgen):I1014: Converting and merging media file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/Pope-Ad-1.jpg"
Info(prcgen):I1019: Building index into record 0000000 Index name: $FRAG
Info(prcgen):I1019: Building index into record 0000003 Index name: $SKEL
Info(prcgen):I1019: Building index into record 0000005 Index name: $GUIDE
Info(prcgen):I1019: Building index into record 0000008 Index name: $NCX
Info(prcgen):I1029: The default lookup index is: "$FRAG"
Info(prcgen):I1017: Building PRC file, record count: 0000051
Info(prcgen):I2001: Final stats - TEXT: 000101941 bytes 000000051 records
Info(prcgen):I2003: Final stats - INDEXES: 000004564 bytes 000000011 records
Info(prcgen):I2004: Final stats - TRAILING: 000000356 bytes 000000051 records
Info(prcgen):I2005: Final stats - FRAMES: 000000116 bytes 000000003 records
Info(prcgen):I2006: Final stats - OTHER: 000008827 bytes 000000003 records
Info(prcgen):I2007: Final stats - TOTAL: 000115804 bytes 000000068 records
Info(prcgen):I1039: Final stats - text compressed to (in % of original size): 49.75%
Info(prcgen):I1041: The file format version is V8
Info(prcgen):I1032: PRC built successfully
Info(prcgen):I15000: Approximate Standard Mobi Deliverable file size : 0000969KB
Info(prcgen):I15001: Approximate KF8 Deliverable file size : 0000964KB
Info(prcgen):I1037: Mobi file built with WARNINGS!

Thank you!
Marisa.

Notjohn

Posts: 22,647
Registered: 02/27/13
Re: Kindle Previewer Not Converting Epub file properly
Posted: Oct 4, 2017 3:24 AM   in response to: Catholic Match in response to: Catholic Match
Click to report abuse...   Click to reply to this thread Reply
I have uploaded 20 or more epubs to the KDP platform. They all converted just fine. I have never used Kindle Previewer to convert one.

These are validated epubs, of course. You can run Epub Check here: http://validator.idpf.org/

Alas, you may have difficulty understanding the issues if it fails validation.

The problem may well be Pages, of course. It is notoriously bad at building ebooks for Kindle. Generally, Appple and Amazon do not lie down like the lion and the lamb.

(Don't trust KDP to publish a print edition. Don't trust CreateSpace to publish an ebook.)

Good luck! -- NJ

Notjohn's Guide to E-Book & Print Formatting

The blog:
http://notjohnkdp.blogspot.com
cdalebrittain

Posts: 10,964
Registered: 03/05/11
Re: Kindle Previewer Not Converting Epub file properly
Posted: Oct 4, 2017 7:01 AM   in response to: Catholic Match in response to: Catholic Match
Click to report abuse...   Click to reply to this thread Reply
Your problem may be trying to create a mobi file from the ePub file. Have you tried just uploading the ePub file directly, then looking at it in the Previewer? Or maybe I don't understand what you did.

In spite of NJ's dismissal of things Apple, I've used a Mac my entire computer life and find that Pages creates a very nice ePub. You can load it onto iTunes, Kobo, and Nook without any problem. On Amazon, the Look Inside will sometimes be funky (as in having bonus white spaces between paragraphs) but the downloaded book is fine.
Catholic Match

Posts: 2
Registered: 05/03/16
Re: Kindle Previewer Not Converting Epub file properly
Posted: Oct 4, 2017 10:00 AM   in response to: cdalebrittain in response to: cdalebrittain
Click to report abuse...   Click to reply to this thread Reply
Hey Notjohn and cdalebrittain.

Thanks for getting back to me. I appreciate it!

So I DID run my epub through that validator and it passed with flying colors. I also trying viewing the epub through Kindle Previewer and that's where I got the error message. I finally caved and downloaded Calibre which also had issues, but ast least I found a workaround: Calibre has an option to "force" a TOC into the mobi file and so I have two TOC's: one created within Pages and one created by Calibre. Thankfully, it's the Caliber one that overrides the Pages one and when you click the TOC toggle button on top right of the Kindle Previewer, at least all of the chapters and subheadings are there.

There were other glitches also. For example, I placed 7 pages of jpeg ads at the back of the book. KindlePreviewer displayed those pages at the front of the book unless I did two things: create a first page with the book's cover, and creat a final page with some text on it. So it's just been odd things like that which have frustrated me.

At any rate, I have my work-around and I thank you again for taking the time to respond with your suggestions!

Marisa.
Notjohn

Posts: 22,647
Registered: 02/27/13
Re: Kindle Previewer Not Converting Epub file properly
Posted: Oct 4, 2017 11:52 AM   in response to: Catholic Match in response to: Catholic Match
Click to report abuse...   Click to reply to this thread Reply
So I DID run my epub through that validator and it passed with flying colors

Fine. Upload the epub to the KDP and let it convert. Download the "mobi" thus created and check its various emulations in the DOWNLOADED Kindle Previewer. Don't try to convert it with the previewer or with Calibre.

(Don't trust KDP to publish a print edition. Don't trust CreateSpace to publish an ebook.)

Good luck! -- NJ

Notjohn's Guide to E-Book & Print Formatting

The blog:
http://notjohnkdp.blogspot.com
Edmund Fen

Posts: 16
Registered: 10/05/17
Re: Kindle Previewer Not Converting Epub file properly
Posted: Oct 5, 2017 9:24 AM   in response to: Catholic Match in response to: Catholic Match
Click to report abuse...   Click to reply to this thread Reply
Don't use the previewer to convert your file, that's not what it's for. Upload your file, let it convert, then take a look at it on the downloaded (not online) previewer...all your formatting errors (if any) will become obvious.
Legend
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums