Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Good Adoc to PDF Tool #94

Open
HashirZahir opened this issue Nov 10, 2019 · 3 comments
Open

Good Adoc to PDF Tool #94

HashirZahir opened this issue Nov 10, 2019 · 3 comments
Labels

Comments

@HashirZahir
Copy link

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.

@Lucria
Copy link

Lucria commented Nov 10, 2019

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

@okkhoy
Copy link
Collaborator

okkhoy commented Nov 10, 2019

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

@Jefferson111
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants