Hi Juliusz,

On Mon, 23 Jul 2007 21:01:42 +0200, Juliusz Chroboczek wrote:

> I think that inputenc should just do the right thing whatever the
> implementation.  The user should not need to know whether he's running
> TeX, pdfTeX, Omega or XeTeX, he should be able to say
> 
>   \usepackage[utf8]{inputenc}
> 
> and the right thing for the current implementation of TeX should
> magically happen.

I suspect you can think so because you use a language
in which there is little difference between utf8 and
normal encoding, for CJK (, Arabic, Hindi, ?) I'm afraid
things are not going so magically ;-)

Anyway it is fine if XeTeX neglects \usepackage[utf8]{inputenc}
but it seems to me that they provide only ifxetex package which 
detects XeTeX.

You might already know it but a simple workaroud will be 
to modify your file as

\usepackage{ifxetex}
\ifxetex\else
\usepackage[utf8]{inputenc}
\fi

or more directly

\expandafter\ifx\csname XeTeXrevision\endcsname\relax
\usepackage[utf8]{inputenc}
\fi

then it will be processed correctly with latex or xelatex.
(not a fix but at least possible workaroud)

I can't tell if this bug(?) should be forwarded to the 
upstream or not.  I guess there is more knowledgeable member
in this list.

Regards,                        2007-7-26(Thu)

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <kohda AT debian.org>
 Department of Math., Univ. of Tokushima


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to