David Prévot <da...@tilapin.org> wrote:

<snip/>
> On Sun, Jan  9, 2011 at 22:00:17 +0100, Holger Wansing wrote:
>
> > Package: release-notes
> > =
>
> > =
>
> > I discovered a weird phenomenon in the pdf versions of the =
>
> > release-notes.
> > In special cases, words with non-ASCII characters are displayed
> > incorrectly, the characters are mixed up within the word.
<snip/>

The TeX output of dblatex can be stripped down to the attached example,
exposing a problem of the TeX listings package regarding utf8 encoding.
(The listings package gets used due to the DocBook <screen> element.)
Thus I'd argue it's a TeX problem.

% This example demonstrates problems of the listings package regarding utf8
%encoding: the output of a pdflatex run exposes swapped characters:
% Nicht ügengend Platz üfr »Dynamic «MMap
\documentclass{article}
\usepackage[T2A,T2D,T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage{listings}
\lstset{inputencoding=utf8x,extendedchars=\true}
\begin{document}
\begin{lstlisting}
Nicht genügend Platz für »Dynamic MMap«
\end{lstlisting}
\end{document}
Andreas
-- 
Andreas Hoenen <andr...@hoenen-terstappen.de>
GPG: 1024D/B888D2CE
     A4A6 E8B5 593A E89B 496B
     82F0 728D 8B7E B888 D2CE

Attachment: pgpWKErTVLrQT.pgp
Description: PGP signature

Reply via email to