Closed hupfdule closed 5 years ago
asciidoctorj-pdf is only a repackaging of asciidoctor-pdf. A better place for this issue would be https://github.com/asciidoctor/asciidoctor-pdf. Could you please open the issue for this repo?
I don't even think there is a correlation between these two things. preserveDirectories is something the Maven plugin is handling. So if there's an issue, it's with the Maven plugin.
Since it's not relevant to this package, I'm going to close this issue.
The asciidoctorj-option
preserveDirectories
is ignored by asciidoctorj-pdf. I have a document with images that I want to convert to HTML and PDF with the following pom-snippet:The document has the following structure:
When generating the PDF asciidoctorj-pdf tries to load the images from
src/doc/screenshots
even though I specified thepreserveDirectories
option that correctly behaves when generating the HTML output.