diff options
| author | Leif Gruenwoldt <leifer@gmail.com> | 2014-11-06 09:32:17 -0500 |
|---|---|---|
| committer | Leif Gruenwoldt <leifer@gmail.com> | 2014-11-06 09:32:17 -0500 |
| commit | 053eafedd5994d7f2fb3c1632702ce735abbc6aa (patch) | |
| tree | 4199b5f84bbdf68c14608e5af5520d927698556f | |
| parent | 0d701b8117065222ac0eb65871f6bf5add82eb24 (diff) | |
Further details for pdf-style and pdf-stylesdir attributes
| -rw-r--r-- | README.adoc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/README.adoc b/README.adoc index 3422e0c6..c998273c 100644 --- a/README.adoc +++ b/README.adoc @@ -228,9 +228,12 @@ The layout and styling of the PDF is driven by a YAML configuration file. See the files [file]_default-theme.yml_ and [file]_asciidoctor-theme.yml_ found in the [file]_data/themes_ directory for examples. -Specify the path to an alternate theme file with the `pdf-style` attribute: +Specify the path to an alternate theme file with the `pdf-style` attribute. For example to use the built-in _asciidoctor_ theme: $ ./bin/asciidoctor-pdf -a pdf-style='asciidoctor' examples/example.adoc + +To refer to a theme at another location you can use the `pdf-stylesdir` attribute to specify the location of themes. +If the `pdf-style` value does not end in `.yml`, then the file name is calculated as `{pdf-style}-theme.yml` located in the `pdf-stylesdir` directory (which defaults to the built-in `data/themes` directory). == Optional Scripts |
