たくさんの文章形式に対応した文章変換ツールのPandoc のバージョン3.8.3 がリリースされました.
個人的にはasciidoc 形式の入力対応が嬉しいです.
Add asciidoc as an input format (#1456).
個人的にasciidoc 形式は好きなのですが,これまでPandoc ではasciidoc への変換は出来てもasciidoc からの変換が出来ないといういっぽい通行でしたがこれで相互変換できそうです.
これまでのpandoc のasciidoc 対応状況
$ pandoc --version pandoc 3.1.11.1 Features: -server +lua Scripting engine: Lua 5.4 User data directory: /home/matoken/.local/share/pandoc Copyright (C) 2006-2023 John MacFarlane. Web: https://pandoc.org This is free software; see the source for copying conditions. There is no warranty, not even for merchantability or fitness for a particular purpose. $ pandoc --list-input-formats | grep -i asciidoc $ pandoc --list-output-formats | grep -i asciidoc asciidoc asciidoc_legacy asciidoctor
早速pandoc 3.8.3 を試します.
とりあえずGitHub Releases の.deb を’もらってきて導入.
$ wget -c https://github.com/jgm/pandoc/releases/download/3.8.3/pandoc-3.8.3-1-amd64.deb (1) $ sha256sum pandoc-3.8.3-1-amd64.deb (2) d7fac78b58b8c8da39254955eff321233ab97d74e8b2d461c0f0719a1fb5f357 pandoc-3.8.3-1-amd64.deb $ sudo apt install ./pandoc-3.8.3-1-amd64.deb (3) $ which pandoc /usr/bin/pandoc $ pandoc -v (4) pandoc 3.8.3 Features: +server +lua Scripting engine: Lua 5.4 User data directory: /home/matoken/.local/share/pandoc Copyright (C) 2006-2025 John MacFarlane. Web: https://pandoc.org This is free software; see the source for copying conditions. There is no warranty, not even for merchantability or fitness for a particular purpose. $ pandoc --list-input-formats | grep -i asciidoc (5) asciidoc $ pandoc --list-output-formats | grep -i asciidoc asciidoc asciidoc_legacy asciidoctor $ pandoc slide/slide.adoc -o /tmp/out.pdf -f asciidoc -t pdf --pdf-engine=weasyprint (6)
pandoc debian amd64 package を入手
hash 確認
system に導入
バージョン確認
入力フォーマットにasciidoc があるのを確認
適当なasciidoc をpdf に変換してみる
asciidoc からpdf への変換が出来ました.

ちなみに現時点での対応フォーマットは入力51,出力75 のようです.この中にはhtml/html4/html5 のようなバージョン違いのようなものも含まれます.
$ pandoc --list-input-formats | wc -l 51 $ pandoc --list-output-formats | wc -l 75
ということでこれまでも便利だったPandoc ですがasciidoc 入力対応でまた一つ便利になりました.
環境
$ pandoc -v pandoc 3.8.3 Features: +server +lua Scripting engine: Lua 5.4 User data directory: /home/matoken/.local/share/pandoc Copyright (C) 2006-2025 John MacFarlane. Web: https://pandoc.org This is free software; see the source for copying conditions. There is no warranty, not even for merchantability or fitness for a particular purpose. $ dpkg-query -W pandoc pandoc 3.8.3-1 $ lsb_release -dr Description: Debian GNU/Linux forky/sid Release: n/a $ arch x86_64