Comment 8 for bug 1073247

Revision history for this message
Stéphane Gourichon (stephane-gourichon-lpad) wrote :

# Minimal test case

Since the simplest test case with the smallest difference between pass and fail is often a good thing to have, here is one:

Copy-paste the lines below to test-mini-pass.asciidoc, run "a2x test-mini-pass.asciidoc", see that it generated a PDF.

= A

A

== B

A

Now replace the "B" with an accented letter, for example "é" like below.
Or copy-paste the lines below to test-mini-fail.asciidoc, run "a2x test-mini-fail.asciidoc", see that it fails.

= A

A

== é

A

Command typed: a2x test-mini-fail.asciidoc

Observed error message:

a2x: ERROR: "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" "/tmp/test-mini-fail.xml" returned non-zero exit status 1

# Real bug ? Definitely.

Running the program on a simple document and have it fail makes it definitely a real bug.
Strictly, it does not prove that the bug is in asciidoc. The bug may be in dblatex.

# Bug severity: high

The fact is: this bug is important because it quickly hits any user that happen to write in a language with characters outside 7-bit ascii and uses a2x to generate a PDF (without any option).

It could be nice if some maintainer would look at the options mentioned above. If the bug is really in another package (say, dblatex) then the best thing to do is to assign the bug to that package to make maintainers aware and have a chance to fix it.