On 9/16/07, Andrea Valle wrote:
> On 15 Sep 2007, at 18:43, Hans Hagen wrote:
>
>> \enableregime[utf]
>>
>> this one is not needed, xetex is utf
>
>
> Ok. I read some infos on the wiki but I was a bit confused.
> So:
>
> - if I encode in utf-8 I don't have to specify regime \enableregime[utf]
> - if I encode in another encodign (e.g. mac roman) I have to specify \the
> correct \enableregime (here: [mac])
>
> Am I right?

a) Yes. In LuaTeX and XeTeX utf-8 already is the default regime. Only
for pdfTeX you still need \enableregime[utf-8] (but it doesn't hurt if
you leave it in XeTeX and LuaTeX)

b) Yes, it should be so in theory. But to be honest, it doesn't work,
although it's probably a rather trivial patch. ConTeX+XeTeX currently
simply ignores the \enableregime command. (Most people, esp. the ones
aware about XeTeX, write in utf-8 anyway, so nobody has complained
enough about the lack of that functionality.) You can still use the
low-level command
    \XeTeXinputencoding "..."
(I don't know which name exactly you need for mac roman, but that should work.)

But then again:
- I've been just playing a little bit with it again and figured out
that things have changed during the MKIV transition a bit. XeTeX
doesn't ignore \enableregime any more (as it was the case some time
ago), and that functionality should be adapted (\enableregime should
not be ignore, but should resolve to the correct behaviour properly).
- In addition to that, the default fonts loaded are now OpenType LM
instead of the old ones, which is much better, but during loading,
[encoding=uc] has been omitted (and that should be fixed as well),
which means that \`e or \egrave won't work as they used to.

So my answer would be: don't use \enableregime in XeTeX at the moment
and use UTF-8. But the other problem with math fonts is much more
critical and needs to be fixed as soon as possible. That one can wait
a bit.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to