Epub file not converting in KindlePreviewer

Hello everyone.


I have run into an issue that has me stumped, and I don't know if it's a Pages problem or KindleGen.


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.


I've posted this same problem on Amazon's support forum and am waiting for an answer.


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-A d-1.jpg"
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/Pope-A d-2.jpg"
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/Pope-A d-3.jpg"
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/Pope-A d-5.jpg"
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/Pope-A d-6.jpg"
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/St-Rap h-Ad.jpg"
Info(prcgen):I1013: Converting and merging image file "/var/folders/qd/q0n_ddf57vbfkk4z650x8ymh0000gp/T/mobi-tsp0T6/OPS/images/ebroch ures.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-A d-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!
B.

iMac (27-inch, Late 2013), OS X Yosemite (10.10.3)

Posted on Oct 3, 2017 1:00 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 3, 2017 1:42 PM

Get Calibre 3.8, and open a copy of your Pages 5.6.2 generated ePub3 book. In Calibre, select your ePub, and click the Convert (individual) button on the Toolbar. On the following screen, the left is ePub, and on the right is .mobi. Let it rip, and see how it looks in a Kindle viewer.


Other than .pages document formatting beforehand, you have zero control over what Pages v5.6.2 adds, subtracts, or mutilates in your exported ePub. Does Kindlegen accept Word .docx documents, or PDF as direct input?

7 replies
Question marked as Top-ranking reply

Oct 3, 2017 1:42 PM in response to Belly Buckle

Get Calibre 3.8, and open a copy of your Pages 5.6.2 generated ePub3 book. In Calibre, select your ePub, and click the Convert (individual) button on the Toolbar. On the following screen, the left is ePub, and on the right is .mobi. Let it rip, and see how it looks in a Kindle viewer.


Other than .pages document formatting beforehand, you have zero control over what Pages v5.6.2 adds, subtracts, or mutilates in your exported ePub. Does Kindlegen accept Word .docx documents, or PDF as direct input?

Oct 3, 2017 2:16 PM in response to Belly Buckle

I generated an ePub from Pages v5.6.2. With the just downloaded Calibre 3.8, I right-clicked on the Desktop ePub file, and the Finder's secondary menu's Open With ▸ offered Calibre 3.8. It opened the ePub without issue. I selected the ePub within Calibre, and chose Convert (individual), setting the source to ePub, and the destination to .mobi.


When the conversion was done, I clicked on the .mobi in the Calibre 3.8 right panel, and Calibre opened it in its own viewer. You might still want to open this in an external Kindle, or Kindle viewer.


Apparently, Kindle Direct Publishing supports Word .docx documents.

Oct 3, 2017 6:31 PM in response to Belly Buckle

I just generated a ToC in Pages v5.6.2 with a Title in it. Exported to ePub. Title was viewable in Calibre's ePub viewer, or iBooks.


The problem with exporting a Table of Contents is that what looks like:


Title ...................... 1 in Pages v5.6.2,


becomes

Title 1 in the ePub. This is a single string, not two distinct items. Thus, one cannot customize the ePub ToC by acting on text and page number separately.

Oct 3, 2017 1:53 PM in response to VikingOSX

Hello VikingOSX.


Thanks! I was about to do that when I read on a review page that you can't open epub files in Calibre - they have to be html files, and Pages can't export html (at least I haven't found a way).


I think that Kindle may only accept epub files...not 100% sure though.


I will try Calibre anyway. Perhaps they've updated their options.

Thanks again!

B.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Epub file not converting in KindlePreviewer

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.