Quote:
Originally Posted by cerem0ny
Still finding it difficult to see why a certain book is rejected for Enhanced Typesetting... Checking the logs there are no real giveaways as to why a book was rejected or not...
|
That is a typical looking log from kindlegen and doesn't show anything about the conversion to KDF (enhanced typesetting). The more detailed logs produced during the conversion process are even more cryptic and besides that they are deleted by the conversion software shortly after being produced!
Here is Amazon's (unhelpful) advice from the
Previewer web page:
Quote:
Q6: My book is not compatible with Enhanced Typesetting. What should I do to make it compatible with Enhanced Typesetting?
A6. We are continuously working to make Enhanced Typesetting enabled for more titles and will automatically enable it for your book when possible. You need not resubmit your book. When Enhanced Typesetting is enabled for your book, you will see "Enhanced Typesetting: Enabled" on that book’s detail page.
|
Besides not answering the question in respect to the Previewer, it basically says, "There's nothing you can do. You're out of luck." This just isn't true.
As a software developer, I know that it is difficult to provide provide helpful error messages. The conversion pipeline has a number of processing steps and the original content has been mangled beyond recognition by the time a problem is discovered so it is hard to determine what in the original source file lead to the failure. This is beta software, maybe the final version will improve on this.
ETA: In my own testing using books from the
Patricia Clark Memorial Library I found that more than half of the books I tried failed to allow enhanced typesetting. I didn't delve into the reasons very deeply but I noticed that some of the ones that didn't work showed problems when checked with calibre's editor. I also noticed that those with SVG (other than a simple cover image) failed.
ETA2: As an example of a book being rejected, I just came across another e-book that failed to convert to KDF even though it showed no problems when checked by EPUBCheck and the calibre editor. Capturing the conversion log showed the error:
Code:
[[STYLE,DIV,font-weight:[700.0->900.0],null:null]]
Feb 29, 2016 11:28:15 AM com.amazon.source.analyser.application.SourceAnalyserApp main
INFO: C:\Users\John\AppData\Local\Temp\64b7-1f93-df6d-80e2\conv_tmp\BOOK.epub,false
Exception in thread "main" com.amazon.source.analyser.a.c: IsLiveable FAILED because of invalid 'style/tag' combinations
at com.amazon.source.analyser.application.SourceAnalyserApp.main(Unknown Source)
As the error apparently refers to font-weight, I looked at the book again with the calibre editor and saw that it uses the style "font-weight: 800". I changed this to "font-weight: bold" and the EPUB converted to KDF without error.