diff options
| author | Florian Wilhelm <florian-wilhelm@onlinehome.de> | 2016-03-08 21:54:22 +0100 |
|---|---|---|
| committer | Florian Wilhelm <florian-wilhelm@onlinehome.de> | 2016-03-08 21:54:22 +0100 |
| commit | f735751adeb8644f0289a4addea2fa4a3aaf3b29 (patch) | |
| tree | 6675fef8f8fd016a96bf979b830e1f00a71b03bf /docs | |
| parent | 15557bd80d9e4c098814ad9b81b158dcb57d8aa7 (diff) | |
Add hints for how to apply styles using Maven and Gradle.
Note that the Gradle Link does not work until https://github.com/asciidoctor/asciidoctor-gradle-examples/pull/17 is merged.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/theming-guide.adoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/theming-guide.adoc b/docs/theming-guide.adoc index 9c05c755..b0b0af49 100644 --- a/docs/theming-guide.adoc +++ b/docs/theming-guide.adoc @@ -1734,6 +1734,12 @@ Therefore, it's recommend that you specify absolute paths for now to future-proo $ asciidoctor-pdf -a pdf-stylesdir=/path/to/resources/themes -a pdf-style=basic -a pdf-fontsdir=/path/to/resources/fonts +As usual, you can also use build tools like Maven and Gradle to build a themed PDF. +The only thing you need to add to an existing build is the attributes mentioned above. + +* https://github.com/asciidoctor/asciidoctor-maven-examples/tree/master/asciidoctor-pdf-with-theme-example[Maven Example] +* https://github.com/asciidoctor/asciidoctor-gradle-examples/tree/master/asciidoc-to-pdf-with-theme-example[Gradle Example] + //// == Resources (for extending Asciidoctor PDF) |
