From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37487 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Gentium Basic/Book (getting weird) Date: Fri, 23 Nov 2007 16:51:45 +0100 Message-ID: <6faad9f00711230751w19d4238ch48244166780b1744@mail.gmail.com> References: <6faad9f00711191657l43567a43n7a1ca8c50a73cfe1@mail.gmail.com> <6faad9f00711220330r42eaa54fs9819a080bde89934@mail.gmail.com> <20071122193128.55fdd477.schuster.wolfgang@googlemail.com> <6faad9f00711221223i4449721dk449c782afc002dd3@mail.gmail.com> <6358C294-A7FF-4606-9A6E-E60373BDBFB5@st.estfiles.de> <6faad9f00711230544g6e383f3by958afd6c5bceebfd@mail.gmail.com> <20071123141151.GC12880@phare.normalesup.org> 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: ger.gmane.org 1195833156 18237 80.91.229.12 (23 Nov 2007 15:52:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2007 15:52:36 +0000 (UTC) To: "Mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 23 16:52:41 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 1Ivapb-0006R1-7q for gctc-ntg-context-518@m.gmane.org; Fri, 23 Nov 2007 16:52:39 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1EF0B1FD59; Fri, 23 Nov 2007 16:52:24 +0100 (CET) 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 29961-01; Fri, 23 Nov 2007 16:52:20 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B79511FD30; Fri, 23 Nov 2007 16:52:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 290751FBF1 for ; Fri, 23 Nov 2007 16:52:05 +0100 (CET) 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 25543-03-5 for ; Fri, 23 Nov 2007 16:51:51 +0100 (CET) Original-Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.176]) by ronja.ntg.nl (Postfix) with ESMTP id 0E7C31FB57 for ; Fri, 23 Nov 2007 16:51:47 +0100 (CET) Original-Received: by el-out-1112.google.com with SMTP id o28so1223836ele for ; Fri, 23 Nov 2007 07:51:46 -0800 (PST) Original-Received: by 10.142.79.15 with SMTP id c15mr2648094wfb.1195833105256; Fri, 23 Nov 2007 07:51:45 -0800 (PST) Original-Received: by 10.143.40.7 with HTTP; Fri, 23 Nov 2007 07:51:45 -0800 (PST) In-Reply-To: <20071123141151.GC12880@phare.normalesup.org> 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:37487 Archived-At: On Nov 23, 2007 3:11 PM, Arthur Reutenauer wrote: > > ... Hmmm .... when thinking agin ... I know that you asked me which > > regime name to pass to XeTeX and I said "don't worry, it should be > > more or less the same", but "8859-1" isn't valid regime name either. > > I'll take a look and report back. > > The recent archives from the XeTeX list seem to yield > \XeTeXinputencoding{utf8} or \XeTeXinputencoding "ISO-8859-1". I assume > that both syntaxes are recognized by XeTeX (with curly braces or double quotes). No, it's not about the syntax, but rather about the list of accepted names for input encodings. Apart from those three in regi-syn (only left for backward-compatibility): \defineregimesynonym [windows] [cp1252] \defineregimesynonym [grk] [8859-7] \defineregimesynonym [iso88595] [8859-5] and maybe some others in regi-cyp/cyr, XeTeX seems to accept a wide variety of names, so I would suggest the following fix in regi-ini.mkii: \beginXETEX % no idea what these do, but may be left if needed: \let\mkloadregime \gobbleoneargument \let\mkenableregime \gobbleoneargument \let\mkwalkregime \gobbleoneargument \let\mkautosetregime\gobbletwoarguments % sets input encoding to whatever the user asks for. utf is mapped to utf-8 \def\enableregime[#1]% {\doifelse{#1}{utf}% {\message{Specifying UTF-8 input encoding/regime is not needed in XeTeX, but if you do it,}% \message{please use [backslash] enableregime[utf-8] instead of [utf].}% \edef\currentregime{utf-8}}{\edef\currentregime{#1}}% \doifnot{\currentregime}{utf-8}{\message{You are highly encouraged to switch over to UTF-8 input encoding.}}% \XeTeXinputencoding{\currentregime}% \message{Using input encoding/regime \currentregime}} \endXETEX 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 ___________________________________________________________________________________