From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22663 Path: news.gmane.org!not-for-mail From: Christopher Creutzig Newsgroups: gmane.comp.tex.context Subject: Re: utf-based lang-* files? Date: Thu, 22 Sep 2005 18:25:01 +0200 Message-ID: <4332DADD.5010705@creutzig.de> References: <4332A0F5.2040100@creutzig.de> <20050922122747.30135@mail.comp.lancs.ac.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1127406658 12056 80.91.229.2 (22 Sep 2005 16:30:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2005 16:30:58 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 22 18:30:47 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EITun-0006UX-G7 for gctc-ntg-context-518@m.gmane.org; Thu, 22 Sep 2005 18:27:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0665F127E4; Thu, 22 Sep 2005 18:27:17 +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 30898-04; Thu, 22 Sep 2005 18:27:16 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F137C127E0; Thu, 22 Sep 2005 18:25:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B2474127E0 for ; Thu, 22 Sep 2005 18:25:13 +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 30898-03 for ; Thu, 22 Sep 2005 18:25:12 +0200 (CEST) Original-Received: from mailgate.uni-paderborn.de (mailgate.uni-paderborn.de [131.234.22.32]) by ronja.ntg.nl (Postfix) with ESMTP id B81BD1278D for ; Thu, 22 Sep 2005 18:25:12 +0200 (CEST) Original-Received: from p548b2a55.dip0.t-ipconnect.de ([84.139.42.85] helo=[192.168.1.2]) by mailgate.uni-paderborn.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.43) id 1EITtb-0004kK-GH for ntg-context@ntg.nl; Thu, 22 Sep 2005 18:26:03 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <20050922122747.30135@mail.comp.lancs.ac.uk> X-Enigmail-Version: 0.92.0.0 X-UNI-PB_FAK-EIM-MailScanner-Information: Please see http://imap.uni-paderborn.de for details X-UNI-PB_FAK-EIM-MailScanner: Found to be clean X-UNI-PB_FAK-EIM-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.208, required 4, AUTH_EIM_USER -5.00, RCVD_IN_NJABL_DUL 1.66, RCVD_IN_SORBS_DUL 0.14) X-MailScanner-From: christopher@creutzig.de X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22663 Archived-At: Adam Lindsay wrote: >>Is it possible to simply enclose the file in a >>\startregime[utf]...\stopregime pair or do I risk havoc by doing this? >=20 >=20 > Well, if you're using a regime, it still (usually) depends on symbolic > character names being defined under the hood. Also, such an approach Sure. But editing the file is oh so much easier when I can just type \def\japChapterNumber#1{=E7=AC=AC#1=E7=AB=A0} than if I have to look up the unicode numbers first and type \def\japChapterNumber{\uchar{123}{44}#1\uchar{122}{224}} > (explicitly calling \startregime[utf]) doesn't make XeTeX as happy as i= t > could be (XeTeX is happiest if you just pass through Unicode characters= . That implies that ConTeXt should switch off all conversions when running in XeTeX and seeing \startregime[utf], right? (I certainly want to use the whole thing in XeTeX, if I ever do start it. I would prefer not to make the code depend on that. I could live with som \if... switches at the beginning and end, sure.) Christopher