You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Asciidoctor Maven Plugin: AsciiDoc to PDF Book Example
An example project that demonstrates how to convert AsciiDoc to PDF using Asciidoctor PDF with the Asciidoctor Maven plugin.
This example produces a book and make use of a custom Asciidoctor PDF theme (defined in src/theme).
The same document is rendered twice:
Without the theme configuration, output is target/generated-docs-default-theme/example-manual.pdf
With the theme configuration, output is target/generated-docs-custom-theme/example-manual.pdf
Usage
Convert the AsciiDoc to PDF using Asciidoctor PDF by invoking the process-resources goal (configured as the default goal):
$ mvn
Open the file target/generated-docs-custom-theme/example-manual.pdf in your PDF viewer to see the generated PDF.