ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: XeTeX after ctxtools
Date: Sun, 16 Sep 2007 11:21:42 +0200	[thread overview]
Message-ID: <6faad9f00709160221q43432254x7e606e56617f6dfb@mail.gmail.com> (raw)
In-Reply-To: <0F955478-0E1F-43DC-A7CB-96BB1CD53303@di.unito.it>

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 : ntg-context@ntg.nl / 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	other threads:[~2007-09-16  9:21 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05 17:05 xetex and external pdf stretching Andrea Valle
2007-09-13 11:00 ` Mojca Miklavec
2007-09-13 11:17   ` Andrea Valle
     [not found]   ` <699048FE-7F2D-411A-A874-81C70C181E78@di.unito.it>
     [not found]     ` <6faad9f00709130451o3a0eb75am6ac8a63f8fc4bd21@mail.gmail.com>
     [not found]       ` <6041E5AB-A41B-4685-BA98-04AAAA05EC38@di.unito.it>
     [not found]         ` <6faad9f00709130547m60b27de5y3e3977c6c0144e00@mail.gmail.com>
2007-09-14  8:22           ` XeTeX after ctxtools in MacTeX was: " Andrea Valle
2007-09-14  8:31             ` Taco Hoekwater
2007-09-14 11:23               ` Andrea Valle
2007-09-14  8:46             ` Wolfgang Schuster
2007-09-14  8:59               ` Andrea Valle
2007-09-14  9:45                 ` Mojca Miklavec
2007-09-14 10:01                   ` XeTeX after ctxtools Andrea Valle
2007-09-14  9:51               ` Andrea Valle
2007-09-14 13:36                 ` Jean Magnan de Bornier
2007-09-14 13:46                   ` Andrea Valle
2007-09-14 13:59                     ` Hans Hagen
2007-09-14 14:02                       ` Andrea Valle
2007-09-14 14:17                         ` Hans Hagen
2007-09-14 15:54                           ` Andrea Valle
2007-09-14 18:27                             ` Hans Hagen
2007-09-14 16:41                           ` Andrea Valle
2007-09-14 18:28                             ` Hans Hagen
2007-09-14 19:02                               ` Andrea Valle
2007-09-15 11:25                                 ` Hans Hagen
2007-09-15 14:10                                   ` Andrea Valle
2007-09-15 16:43                                     ` Hans Hagen
2007-09-15 17:51                                       ` Mojca Miklavec
2007-09-15 19:16                                         ` Hans Hagen
2007-09-15 19:41                                         ` Hans Hagen
2007-09-16  7:53                                           ` Andrea Valle
2007-09-16  9:38                                             ` Mojca Miklavec
2007-09-16 21:53                                               ` Hans Hagen
2007-09-16  7:50                                       ` Andrea Valle
2007-09-16  9:21                                         ` Mojca Miklavec [this message]
2007-09-16 21:49                                         ` Hans Hagen
2007-09-17  6:54                                           ` Andrea Valle
2007-09-14 16:00                     ` Jean Magnan de Bornier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f00709160221q43432254x7e606e56617f6dfb@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).