[Bug 1073247] Re: a2x: pdf output fails with german umlauts in labels
Joseph
1073247 at bugs.launchpad.net
Tue Apr 22 05:47:47 UTC 2014
Hi,
Ok, I wasn't clear: IMHO this is not a bug but a configuration issue. You're just using a2x without the correct parameters.
If you want a2x/asciidoc to support utf-8 characters in the titles you have to use it with one of the following:
- use the ascii-ids attribute (see section ids in official documentation and what Lex answered in the given google group link)
- disable the section ids unsetting sectids (see section ids in official documentation)
- give manually an ascii id to the section (see section ids in official documentation)
- use the latex.encoding and latex.unicode.use attributes as mentionned above
- use FOP instead of dblatex
If you want to use one of those solutions permanently, use a
configuration file (see official documentation for more information
about custom configuration files).
Best,
Joseph
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to asciidoc in Ubuntu.
https://bugs.launchpad.net/bugs/1073247
Title:
a2x: pdf output fails with german umlauts in labels
Status in “asciidoc” package in Ubuntu:
Confirmed
Bug description:
Description: Ubuntu 12.10
Release: 12.10
asciidoc:
Installiert: 8.6.7-1
Kandidat: 8.6.7-1
Versionstabelle:
*** 8.6.7-1 0
500 http://archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
100 /var/lib/dpkg/status
Using german umlauts in headers or labels makes a2x -f pdf
test.asciidoc fail. test.asciidoc is written in UTF-8.
...
pdflatex -interaction=batchmode test.tex
pdflatex failed
test.aux:25: Missing \endcsname inserted.
test.aux:25: leading text: ...ne erste �berschrift\relax }{section.1}{}}
test.aux:30: Missing \endcsname inserted.
test.aux:30: leading text: ...1}{1}{\refname \relax }{subsection.2.1}{}}
Unexpected error occured
Error: pdflatex compilation failed
a2x: ERROR: "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" -V "/home/guenther/fh/3.Sem/wiw464_PLM/Winkelmann/test.xml" returned non-zero exit status 1
...
Trying the same with tex output (a2x -f tex test.asciidoc) shows, that
umlauts in labels are not converted to latin1.
The bug seems to be known in Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622359#10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/asciidoc/+bug/1073247/+subscriptions
More information about the foundations-bugs
mailing list