From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36617 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: XeTeX after ctxtools Date: Sun, 16 Sep 2007 11:21:42 +0200 Message-ID: <6faad9f00709160221q43432254x7e606e56617f6dfb@mail.gmail.com> References: <9C1FC149-7B67-40A9-81E0-CD2E85AED661@di.unito.it> <46EA97EF.3020903@wxs.nl> <4004FAC5-BCE9-40EB-8B51-252CF374E8E1@di.unito.it> <46EAD2D0.1040808@wxs.nl> <75363584-8F37-4DC5-B5D0-EF49E926D9A4@di.unito.it> <46EBC11F.7000902@wxs.nl> <047C1201-F284-49A7-A8DF-FD51491F722B@di.unito.it> <46EC0BB8.6080500@wxs.nl> <0F955478-0E1F-43DC-A7CB-96BB1CD53303@di.unito.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189934530 14175 80.91.229.12 (16 Sep 2007 09:22:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2007 09:22:10 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 16 11:22:08 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IWqKN-0000Ns-2y for gctc-ntg-context-518@m.gmane.org; Sun, 16 Sep 2007 11:22:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 61674203E6; Sun, 16 Sep 2007 11:22:05 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07181-05-4; Sun, 16 Sep 2007 11:21:54 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6987D2034B; Sun, 16 Sep 2007 11:21:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0D9832034B for ; Sun, 16 Sep 2007 11:21:51 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07181-05-3 for ; Sun, 16 Sep 2007 11:21:44 +0200 (CEST) Original-Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by ronja.ntg.nl (Postfix) with ESMTP id 1967220348 for ; Sun, 16 Sep 2007 11:21:43 +0200 (CEST) Original-Received: by wa-out-1112.google.com with SMTP id m16so1764811waf for ; Sun, 16 Sep 2007 02:21:42 -0700 (PDT) Original-Received: by 10.142.231.7 with SMTP id d7mr502450wfh.1189934502282; Sun, 16 Sep 2007 02:21:42 -0700 (PDT) Original-Received: by 10.143.40.7 with HTTP; Sun, 16 Sep 2007 02:21:42 -0700 (PDT) In-Reply-To: <0F955478-0E1F-43DC-A7CB-96BB1CD53303@di.unito.it> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36617 Archived-At: 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 ___________________________________________________________________________________