[XeTeX] Conflict between xunicode and fontspec?
Arthur Reutenauer
arthur.reutenauer at normalesup.org
Tue Feb 5 02:12:34 CET 2008
Hello,
You should not use inputenc and fontenc with XeTeX, they simply don't
support XeTeX at all. The output you get indicates incompatibility
between inputenc + fontenc and xunicode + fontspec, rather than a
conflict between the latter two (it might be that changing the order of
the packages improves things, but that's really not a robust solution).
If you really need to use the latin-1 encoding, you should use the
\XeTeXinputencoding command (\XeTeXinputencoding ISO-8859-1), but I
encourage you to use UTF-8, if possible (this is the default encoding
XeTeX expects).
In addition, you could try and give up Babel altogether and use
François Charette's polyglossia instead, which is a XeTeX-aware
replacement for Babel.
http://scripts.sil.org/svn-view/xetex/TRUNK/texmf/tex/xelatex/polyglossia/
There may be other issues left like indexes, etc., but in any case the
solution is certainly not to stick to inputenc and fontenc. You should
fix that first.
Arthur
> « Il ne faut jamais parler séchement à un Numide. » (Astérix)
A pity Goscinny's humor doesn't translate well in other languages ;-)
More information about the XeTeX
mailing list