ASCIIDOCTOR-PDF(1) | Asciidoctor Manual | ASCIIDOCTOR-PDF(1) |
asciidoctor-pdf - converts AsciiDoc source files to PDF format
asciidoctor-pdf [OPTION]... FILE...
The asciidoctor-pdf(1) command converts the AsciiDoc source file(s) FILE to PDF format.
If FILE is - then the AsciiDoc source is read from standard input.
-B, --base-dir=DIR
-S, --safe-mode=SAFE_MODE
--safe
-a, --attribute=ATTRIBUTE
ATTRIBUTE is normally formatted as a key-value pair, in the form NAME=VALUE. Alternate acceptable forms are NAME (where the VALUE defaults to an empty string), NAME! (unassigns the NAME attribute) and NAME=VALUE@ (where VALUE does not override value of NAME attribute if it’s already defined in the source document). Values containing spaces should be enclosed in quotes.
This option may be specified more than once.
-d, --doctype=DOCTYPE
-D, --destination-dir=DIR
-E, --template-engine=NAME
-e, --eruby
-I, --load-path=DIRECTORY
-n, --section-numbers
-o, --out-file=OUT_FILE
-R, --source-dir=DIR
-r, --require=LIBRARY
-s, --no-header-footer
-T, --template-dir=DIR
If there is a subfolder that matches the engine name (if specified), that folder is appended to the template directory path. Similarly, if there is a subfolder in the resulting template directory that matches the name of the backend, that folder is appended to the template directory path.
This option may be specified more than once. Matching templates found in subsequent directories override ones previously discovered.
--failure-level=LEVEL
-q, --quiet
--trace
-v, --verbose
-t, --timings
-h, --help [TOPIC]
-V, --version
-v can also be used if no other flags or arguments are present.
Asciidoctor-pdf honors the SOURCE_DATE_EPOCH environment variable. If this variable is assigned an integer value, that value is used as the epoch of all input documents and as the local date and time. See <https://reproducible-builds.org/specs/source-date-epoch/> for more information about this environment variable.
0
1
Refer to the Asciidoctor issue tracker at <https://github.com/asciidoctor/asciidoctor/issues?q=is%3Aopen>.
Asciidoctor-pdf was written by Dan Allen, Ryan Waldron, Jason Porter, Nick Hengeveld and other contributors.
Asciidoctor was written by Dan Allen, Ryan Waldron, Jason Porter, Nick Hengeveld and other contributors.
AsciiDoc was written by Stuart Rackham and has received contributions from many other individuals.
Project web site: <https://asciidoctor.org>
Git source repository on GitHub: <https://github.com/asciidoctor/asciidoctor-pdf>
GitHub organization: <https://github.com/asciidoctor>
Discussion list / forum: <http://discuss.asciidoctor.org>
Copyright (C) 2012-2018 Dan Allen, Ryan Waldron and the Asciidoctor Project. Free use of this software is granted under the terms of the MIT License.
Dan Allen
Sarah White
Ryan Waldron
2019-02-04 | Asciidoctor 1.5.8 |