Skip to content

Output rendering

Anthony Fok edited this page Oct 5, 2021 · 2 revisions

HTML

Some examples, with automatic Table of Contents on the side, and with built-in search:

PDF

How to convert asciidoc to pdf? - Stack Overflow

  1. AsciiDocAsciidoctor.jsHTMLwkhtmltopdfPDF
    (Ctrl+Shift+P, select "AsciiDoc: Export document as PDF", from Visual Studio Code: asciidoctor.asciidoctor-vscode)
  2. AsciiDoc → _Asciidoctor PDF → PDF
    (Ctrl+Shift+P, select "AsciiDoc: Export document as PDF", from Visual Studio Code: asciidoctor.asciidoctor-vscode, with setting "Use_asciidoctorpdf" turned on)
  3. Asciidoctor PDF (using Prawn)
  4. AsciiDocAsciidoctor or AsciiDocDocBookDocBook XSL and Apache FOPPDF
    (asciidoctor/asciidoctor-fopub: A portable DocBook-to-PDF build command that wraps DocBook XSL and Apache FOP)
  5. AsciiDocAsciidoctor or AsciiDocDocBookdblatexPDF
  6. If Quire works, use its PDF generation method? (with PrinceXML?)

To do: To test and compare.

More explorations (to be sorted)

Antora solves the problem of writing AsciiDoc distributed over multiple repositories by introducing a component concept and providing a generator that merges the multiple sources automatically.

We might not end up using Antora for this paper, but worth studying some ideas from it, especially because Antora is apparently written by Dan Allen who also started the Ruby-based Asciidoctor (if Anthony is not mistaken).

Links (To be sorted)

More Antora stuff:

Clone this wiki locally