substitutefor

software · Q795

Asciidoctor PDF

Direct AsciiDoc-to-PDF converter with YAML themes and a Prawn-based renderer.

Suggest a correction

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

supported

Converts 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
https://docs.asciidoctor.org/pdf-converter/latest/

Direct conversion and Prawn renderer

vendor · checked 2026-10-07

Theme customization

limited

YAML 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
https://docs.asciidoctor.org/pdf-converter/latest/theme/

YAML language, theme capabilities and built-in themes

vendor · checked 2026-10-07

Long table-cell pagination

unsupported

Cells 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
https://docs.asciidoctor.org/pdf-converter/latest/features/

Highlights and known limitations

vendor · checked 2026-10-07

Optional processing features

limited

Highlighting, 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
https://docs.asciidoctor.org/pdf-converter/latest/install/

Ruby/JRuby prerequisites and optional dependencies

vendor · checked 2026-10-07

Can 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

limited

Can 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

  1. Asciidoctor PDF overview

    Direct conversion and Prawn renderer

    vendor · retrieved 2026-10-07
  2. Features and limitations

    Highlights and known limitations

    vendor · retrieved 2026-10-07
  3. PDF theming

    YAML language, theme capabilities and built-in themes

    vendor · retrieved 2026-10-07
  4. Installation and dependencies

    Ruby/JRuby prerequisites and optional dependencies

    vendor · retrieved 2026-10-07
  5. Software license

    MIT grant

    vendor · retrieved 2026-10-07
  6. 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.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
8432026-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