asciidoctor-pdf style for KDP print book?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

asciidoctor-pdf style for KDP print book?

Miki Tebeka
Hi,

I'm uploading book generated by asciidoc-pdf to KDP, in the preview there are several errors:

- You chose 6.0" by 9.0" trim size but your interior file was submitted at 8.26" by 11.68"
- Insufficient gutter. Books with with 87 pages require at least 0.375" for the gutter (inside margin) and at least .25" for the outside, top and bottom margin
- This object is outside the margins (about a code listing)

Is there a style ready for book print? Or any option I'm missing ?

Thanks,
Miki
Miki Tebeka | miki@353solutions.com | @tebeka
Reply | Threaded
Open this post in threaded view
|

Re: asciidoctor-pdf style for KDP print book?

mojavelinux
Administrator
I'm not aware of one, though I'd be happy to accept a theme that extends default with these modifications to be included in the gem.

Best Regards,

-Dan

On Wed, Mar 25, 2020 at 10:22 AM Miki Tebeka [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi,

I'm uploading book generated by asciidoc-pdf to KDP, in the preview there are several errors:

- You chose 6.0" by 9.0" trim size but your interior file was submitted at 8.26" by 11.68"
- Insufficient gutter. Books with with 87 pages require at least 0.375" for the gutter (inside margin) and at least .25" for the outside, top and bottom margin
- This object is outside the margins (about a code listing)

Is there a style ready for book print? Or any option I'm missing ?

Thanks,
Miki


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/asciidoctor-pdf-style-for-KDP-print-book-tp7789.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: asciidoctor-pdf style for KDP print book?

gregturn
How did you get specific errors from KDP Print? I just got a cyptic error message:

Error processing interior
There was a problem processing your interior.
Please check your file and try again.

Greg Turnquist (@gregturn)
Author of Darklight and Hacking with Spring Boot 2.3
Sign up for my newsletter and get a FREE e-book
Reply | Threaded
Open this post in threaded view
|

Re: asciidoctor-pdf style for KDP print book?

gregturn
To wrap up my own part of this thread (and perhaps to answer the original Op's question),

I talked to KDP on the phone. Engineering support got back and told me the PDF file had "transparencies". Recommendations were to:

A) NOT overwrite previous instances of the same file. Instead, create a fresh, new file.
B) Remove "transparencies" from the file.

I tried (A), even though it felt like a long shot. No change. Still failed, after upload, to process the file.

For (B), after much searching, I decided to open the PDF inside LibreOffice Draw and "Export Directly to PDF". File size was about 65% smaller than original. Uploaded it to KDP Print. A minute later, it was successful!

It appears they want VERY simple PDF files and won't do it themselves. So you must.
Greg Turnquist (@gregturn)
Author of Darklight and Hacking with Spring Boot 2.3
Sign up for my newsletter and get a FREE e-book
Reply | Threaded
Open this post in threaded view
|

Re: asciidoctor-pdf style for KDP print book?

gregturn
Okay, looks like LibreOffice, when it opens a PDF file, does NOT show admonition icons properly. Not sure why. But suffice it to say, that flattening THAT WAY is not very effective if it can't even see those.

More digging, and it appears that "Print to PDF" from your favorite PDF Viewer is a thing that ALSO flattens. So I'm checking this out.

I went ahead and opened https://github.com/asciidoctor/asciidoctor-pdf/issues/1684 to either add flattening to the tools, or at least document this key phase of KDP Print publishing.
Greg Turnquist (@gregturn)
Author of Darklight and Hacking with Spring Boot 2.3
Sign up for my newsletter and get a FREE e-book