Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-18-2015, 12:44 PM   #1
JoseWriter
Member
JoseWriter began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2011
Device: Nook, Kindle, iPad
295 blank pages at end of epub on iPad

I created an epub using InDesign cc 2014 and exported it to reflowable 2.0.1 epub. I use kindlegen to create the kindle version and it looks great. I download the epub to my Nook and it looks ok, except that the frigging fonts don't come over. On my iPad it looks beautiful when I port it over using iTunes and viewing it using iBooks, except for one thing: it puts almost 300 blank pages at the end of the book. When I view the epub using Oxygen, those pages do not exist. The last file in the epub is the one that should end the book.

I've tried adding "back-of-book" to the Guide section but that did nothing.

Anyone have any ideas? The blank pages do not appear on the kindle or the nook versions, just on the ipad.
JoseWriter is offline   Reply With Quote
Old 11-18-2015, 04:29 PM   #2
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
I suggest filing a bug.
dgatwood is offline   Reply With Quote
Old 11-18-2015, 05:29 PM   #3
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 4,259
Karma: 14242649
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by JoseWriter View Post
Anyone have any ideas? The blank pages do not appear on the kindle or the nook versions, just on the ipad.
Maybe the last file got corrupted during the export and contains invisible control characters that Kindlegen and the Nook Rendering engine ignore.

It couldn't hurt to check the end of the last .xhtml file in the book for invisible control characters with a hex editor (e.g. XV32). (You should only see 0A or 0D0A for line breaks and 20 for spaces.)
Doitsu is offline   Reply With Quote
Old 11-19-2015, 11:43 AM   #4
JoseWriter
Member
JoseWriter began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2011
Device: Nook, Kindle, iPad
Quote:
Originally Posted by Doitsu View Post
Maybe the last file got corrupted during the export and contains invisible control characters that Kindlegen and the Nook Rendering engine ignore.

It couldn't hurt to check the end of the last .xhtml file in the book for invisible control characters with a hex editor (e.g. XV32). (You should only see 0A or 0D0A for line breaks and 20 for spaces.)
Doitsu, that was not the exact solution, but you did cause me to go and examine the last file in the epub. What I found was several hundred of these, following the final text and image on the last page:

<div class="_idGenObjectLayout-1">
<div id="_idContainer176" class="_idGenObjectStyleOverride-1">
</div>
</div>

They just went on and on, from idContainer176 to 400+. I deleted them with Oxygen epub editor, and the new file looks great on the ipad. Thanks so much!
Jose
JoseWriter is offline   Reply With Quote
Old 12-02-2015, 05:01 PM   #5
crankypants
Hmm.
crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.
 
Posts: 124
Karma: 2016606
Join Date: Oct 2015
Device: Android 4.2 Google Play Reader
Quote:
Originally Posted by dgatwood View Post
I suggest filing a bug.
The bug is Kindlegen itself. I used it a few years ago. It's just awful.

OP, do everything you can to avoid using Kindlegen. I believe you can upload a Word DOCX file to Amazon.

Also, many websites do their own processing on the ebook. The more software the ebook goes through, the more problems are compounded. (I'm a programmer, we try to keep it simple.)
crankypants is offline   Reply With Quote
Old 12-02-2015, 05:40 PM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 83,413
Karma: 78485980
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by crankypants View Post
The bug is Kindlegen itself. I used it a few years ago. It's just awful.

OP, do everything you can to avoid using Kindlegen. I believe you can upload a Word DOCX file to Amazon.
That's really not very good advice to give someone. Kindlegen is by far the best tool to use when preparing books for commercial Kindle publication.

It's constantly being revised. I very much doubt that a bug you encountered "a few years ago" is still present in the current version.
HarryT is offline   Reply With Quote
Old 12-02-2015, 07:45 PM   #7
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by crankypants View Post
The bug is Kindlegen itself. I used it a few years ago. It's just awful.
Ah. I missed that this was Kindle, and mentally assumed iBooks. My bad. You're right. Kindlegen is a disaster and a half, and I'm being generous.


Quote:
Originally Posted by HarryT View Post
It's constantly being revised. I very much doubt that a bug you encountered "a few years ago" is still present in the current version.
Their rate of churn is actually a problem from my perspective. Every time they change something, they seem to introduce major behavior changes while fixing minor bugs. I stopped adopting kindlegen updates a long time ago, because each update caused me to waste two or three days tweaking my toolchain's output so that kindlegen would spit out sensible code that would work reasonably on KF7 devices again.

Last edited by dgatwood; 12-02-2015 at 07:51 PM.
dgatwood is offline   Reply With Quote
Reply

Tags
blank pages, epub, ibooks, ipad

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank pages before new chapter on iPad Zora ePub 8 06-07-2014 02:02 PM
iPad Blank pages in iPad AlexBell Apple Devices 0 12-28-2011 02:30 AM
Blank pages in iPad AlexBell ePub 0 12-21-2011 02:52 AM
Blank Pages in EPub when Viewed on iPad NewDay ePub 6 10-23-2010 03:08 AM
Blank pages with iPad timbgray Calibre 3 05-04-2010 09:43 PM


All times are GMT -4. The time now is 05:10 AM.


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