我有一个 Asciidoc 文档foo.1.txt
,并且按照此处的说明,我尝试编译它,a2x
如下所示:
a2x --doctype manpage --format manpage foo.1.txt
在此之后,我收到以下错误:
a2x: ERROR: "/usr/bin/asciidoc.py" --backend docbook -a
"a2x-format=manpage" --doctype manpage --out-file
"/home/koz/Documents/foo.1.xml"
"/home/koz/Documents/foo.1.txt" returned non-zero exit status 1
我不确定发生了什么,或者我什至无法诊断出什么是错误的。作为此过程的一部分,会在同一文件夹(标题为)中生成一个 xml 文件。foo.1.xml
感谢所有帮助。
编辑:基于--verbose
标志的使用,问题似乎出在这一部分:
COPYING
----------
Copyright \(C) 2015, Koz Ross <koz.ross@runbox.com>. Free use of this software
is granted under the terms of the GNU General Public License (GPL) version 3, or
any later version.
投诉是:[blockdef-listing] missing closing delimiter
就行在哪里COPYING
。