# Asciidoctor PDF

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

ID: Q795 · Revision: 843

Type: software · License: MIT[^license] · Status: active

Website: https://docs.asciidoctor.org/pdf-converter/latest/



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\.[^overview]

## 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\.[^overview]

## 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\.[^theme]

## 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\.[^features]

## 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\.[^install]

## 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](/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\.[^license][^overview][^pandoc][^theme][^features]

## Capabilities and substitutions

### Direct AsciiDoc PDF output — supported

Converts without an intermediate DocBook or LaTeX document\.[^overview]

Use case: Generate technical manuals and books from AsciiDoc · Platforms: Ruby, JRuby · Region: Version, build and integration requirements apply

### Theme customization — limited

YAML themes control styling but are not CSS and have limited page\-layout influence\.[^theme]

Use case: Generate technical manuals and books from AsciiDoc · Platforms: Ruby, JRuby · Region: Version, build and integration requirements apply

### Long table\-cell pagination — unsupported

Cells exceeding one page are truncated with a warning\.[^features]

Use case: Generate technical manuals and books from AsciiDoc · Platforms: Ruby, JRuby · Region: Version, build and integration requirements apply

### Optional processing features — limited

Highlighting, hyphenation and other integrations require additional dependencies\.[^install]

Use case: Generate technical manuals and books from AsciiDoc · Platforms: Ruby, JRuby · Region: Version, build and integration requirements apply

### [Substitute for Pandoc](/pandoc) — 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\.[^overview][^theme][^pandoc]

Use case: Generate technical manuals and books from AsciiDoc · Platforms: Ruby, JRuby · Region: Version, build and integration requirements apply

## References

[^overview]: [Asciidoctor PDF overview](<https://docs.asciidoctor.org/pdf-converter/latest/>) — Direct conversion and Prawn renderer (vendor; retrieved 2026-10-07T13:33:10Z)

[^features]: [Features and limitations](<https://docs.asciidoctor.org/pdf-converter/latest/features/>) — Highlights and known limitations (vendor; retrieved 2026-10-07T13:33:10Z)

[^theme]: [PDF theming](<https://docs.asciidoctor.org/pdf-converter/latest/theme/>) — YAML language, theme capabilities and built\-in themes (vendor; retrieved 2026-10-07T13:33:10Z)

[^install]: [Installation and dependencies](<https://docs.asciidoctor.org/pdf-converter/latest/install/>) — Ruby/JRuby prerequisites and optional dependencies (vendor; retrieved 2026-10-07T13:33:10Z)

[^license]: [Software license](<https://github.com/asciidoctor/asciidoctor-pdf/blob/main/LICENSE>) — MIT grant (vendor; retrieved 2026-10-07T13:33:10Z)

[^pandoc]: [Pandoc outputs](<https://pandoc.org/>) — AsciiDoc input and external PDF engines (vendor; retrieved 2026-10-07T13:33:10Z)

Source revision: https://substitutefor.net/entities/Q795?revision=843
