Open HashirZahir opened 5 years ago
Personally, I use the official Docker image from AsiicDoctor to help me do PDF conversion and the formatting stays relatively nice! I'm not sure if that's okay for you. Here's the link https://hub.docker.com/r/asciidoctor/docker-asciidoctor
Well technically, if you use AsciiDoc and enable auto-publishing, you get something like this: https://se-education.org/addressbook-level3/DeveloperGuide.html
Printing this HTML gives fairly decent PDF output. I am not sure how
I used Ruby to convert adoc to html, but the admonition blocks are not generated and becomes warning/tip/info instead. Then print the page as pdf. Just generating the pdf directly screws up the formatting.
As most of us are writing the UG/DG in adoc format, most of the formatting is also happening in the adoc. However, when using tools to export to PDF, the nice formatting in adoc does not stay in PDF. Does anyone have any recommendations on how to have a perfect clone PDF formatted copy from the adoc? Or any other recommendation? Thanks.