software · Q795
Asciidoctor PDF
Direct AsciiDoc-to-PDF converter with YAML themes and a Prawn-based renderer.
Overview
Asciidoctor PDF is an open-source converter that produces PDF directly from AsciiDoc. It plugs into Asciidoctor's PDF backend and uses the Prawn library instead of routing documents through DocBook, XSL-FO or LaTeX. A separate theme controls the generated document's appearance.[1]
Source-driven PDF production
The converter turns the source document into a finished PDF using its own rendering pipeline. This removes an intermediate typesetting format from that workflow, rather than converting a pre-existing PDF into an editable project. It remains a publishing component of the Asciidoctor ecosystem; authors keep the AsciiDoc source and theme as the inputs from which output is regenerated.[1]
Themes and design control
Themes are YAML data files, with built-in choices for screen, print, sans-serif text and broader character coverage. A theme can extend another theme or start from scratch. Although the terminology resembles CSS and SASS, the theme language is not CSS, so an existing web stylesheet cannot simply be reused unchanged. Themes influence fonts, spacing, running content and page settings, but more substantial layout changes can require extending the converter.[3]
Pagination and portability
The documented renderer constraints matter for long technical documents. Footnotes become endnotes at the chapter or document end rather than appearing beneath the current page. A table cell taller than a page is truncated with a warning, and oversized row spans also have limitations. Multiple columns are not supported in the book doctype. Copying text from output may not preserve source line wrapping, especially in code examples; a visually plausible PDF is therefore not proof of faithful text extraction.[2]
Runtime and optional additions
The converter runs with Ruby or JRuby and is distributed as a RubyGem. Required library dependencies are installed with the converter, but optional features need additional components. These include syntax highlighting, automatic hyphenation, image-decoding acceleration and PDF optimization. Mathematical and diagram extensions are also separate integrations. A workflow depending on these features needs its dependency set preserved alongside the document and theme, rather than only the main converter version.[4]
Licensing and substitution
Asciidoctor PDF is MIT-licensed. For a team already authoring in AsciiDoc, it can substitute for an AsciiDoc-to-PDF pipeline built around Pandoc and an external PDF engine. The assessment concerns the final publishing task, not interchangeable templates or identical pagination. Its native theme and documented layout restrictions should be evaluated against representative tables, notes and page designs before adopting it for an existing publication.[1][2][3][5][6]
Capabilities & limitations
Direct AsciiDoc PDF output
supportedConverts without an intermediate DocBook or LaTeX document.[1]
Generate technical manuals and books from AsciiDoc · Ruby, JRuby · Version, build and integration requirements apply
1 source · check evidence
Direct conversion and Prawn renderer
vendor · checked 2026-10-07Theme customization
limitedYAML themes control styling but are not CSS and have limited page-layout influence.[3]
Generate technical manuals and books from AsciiDoc · Ruby, JRuby · Version, build and integration requirements apply
1 source · check evidence
YAML language, theme capabilities and built-in themes
vendor · checked 2026-10-07Long table-cell pagination
unsupportedCells exceeding one page are truncated with a warning.[2]
Generate technical manuals and books from AsciiDoc · Ruby, JRuby · Version, build and integration requirements apply
1 source · check evidence
Highlights and known limitations
vendor · checked 2026-10-07Optional processing features
limitedHighlighting, hyphenation and other integrations require additional dependencies.[4]
Generate technical manuals and books from AsciiDoc · Ruby, JRuby · Version, build and integration requirements apply
1 source · check evidence
Ruby/JRuby prerequisites and optional dependencies
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
Pandoc for Generate technical manuals and books from AsciiDoc
limitedCan replace an AsciiDoc-to-PDF publishing pipeline when direct conversion and its layout model fit; it is not a replacement for Pandoc's other readers or an unchanged template migration.[1][3][6]
Ruby, JRuby · Version, build and integration requirements apply
References
- Asciidoctor PDF overview
Direct conversion and Prawn renderer
vendor · retrieved 2026-10-07 - Features and limitations
Highlights and known limitations
vendor · retrieved 2026-10-07 - PDF theming
YAML language, theme capabilities and built-in themes
vendor · retrieved 2026-10-07 - Installation and dependencies
Ruby/JRuby prerequisites and optional dependencies
vendor · retrieved 2026-10-07 - Software license
MIT grant
vendor · retrieved 2026-10-07 - Pandoc outputs
AsciiDoc input and external PDF engines
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 843 | 2026-10-13 11:22:36 | /* wbeditentity-create-item:0| */ sf:ba805283-5fcc-4bd5-8b6b-466ac98d4cbb:v1 | Add Asciidoctor PDF with explicit table, endnote and theme migration limits. | attribution: /proposals/ba805283-5fcc-4bd5-8b6b-466ac98d4cbb |