At least on Ubuntu 12.04 it seems there are two Problems involved:

1. asciidoc does not convert german-umlauts in xref-labels for the xml-output.
A workaround is to manually give plain ascii xref-labels if a header contains 
german umlauts and you need the xreference. Otherwise just ignore them.

2. texlive is not installed with utf-support by default, so pdflatex are unable 
to parse the generated output from asciidoc.
On Ubuntu you have to install the cyrillic-texlive package, which includes utf8 
support.

sudo apt-get install texlive-lang-cyrillic

Now you have to tell asciidoc and dblatex to use it

a2x -a encoding=utf-8 -a lang=de --dblatex-opts='-P latex.encoding=utf8
-P latex.unicode.use=1' -v test.asciidoc

This works well with umlauts, but probably fails with the german sharp s
(ß). So you have to set manual xrefs here, even if you don't use them.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073247

Title:
  a2x: pdf output fails with german umlauts in labels

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/asciidoc/+bug/1073247/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to