-
Notifications
You must be signed in to change notification settings - Fork 500
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
Diagram images look in source but save to -D directory #1033
Comments
While this is a long-standing issue with Asciidoctor Diagram integrations in general, there's a very simple fix for Asciidoctor PDF. Simply set the
I'll make this the default behavior in the upcoming release (so long as you are also using Asciidoctor 2 or better). |
… find images generated by Asciidoctor Diagram - when data-uri is set, Asciidoctor Diagram returns absolute image paths - this allow the input and output directory to differ while still allowing Asciidoctor PDF to locate generated images
… find images generated by Asciidoctor Diagram - when data-uri is set, Asciidoctor Diagram returns absolute image paths - this allow the input and output directory to differ while still allowing Asciidoctor PDF to locate generated images
… find images generated by Asciidoctor Diagram - when data-uri is set, Asciidoctor Diagram returns absolute image paths - this allow the input and output directory to differ while still allowing Asciidoctor PDF to locate generated images
This works, thank you! |
Hey folks, got a possible bug, not entirely sure what is happening but diagrams are not showing up in PDF mode. HTML mode has them.
Then inside that part I include chapters, and inside there I have some diagrams:
When I generate PDF I get this:
It seems to be looking in the source folder, but it has actually saved the files in the generated directory (the one specified in -D).
I just signed up as a R&D backer on Open Collective if that helps. You folks do amazing work!
The text was updated successfully, but these errors were encountered: