From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11345 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Mac input encodings Date: Tue, 11 Mar 2003 22:59:01 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030311225714.0331ea10@server-1> References: <20030224110604.11039@news.comp.lancs.ac.uk> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1047463418 29332 80.91.224.249 (12 Mar 2003 10:03:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2003 10:03:38 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Mar 12 11:03:36 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18t35D-0007cq-00 for ; Wed, 12 Mar 2003 11:03:35 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id E7CF710B86; Wed, 12 Mar 2003 11:04:17 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 118B810B5E for ; Wed, 12 Mar 2003 10:57:08 +0100 (MET) Original-Received: from server-1.pragma-net.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id h2C9v3sm027061 for ; Wed, 12 Mar 2003 10:57:04 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h2C9v3Ec003426 for ; Wed, 12 Mar 2003 10:57:04 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <20030224110604.11039@news.comp.lancs.ac.uk> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11345 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11345 At 11:06 AM 2/24/2003 +0000, you wrote: >Hi all, > >Prompted by this weekend's discussion of input regimes, I took a look at >the one for the Mac's Western encoding (initiated by Michel Bovani), and >hopefully revised it to be nearly complete for characters (missing four >in the range 128-255). Mac users might like to take a look at this file, >and verify that it does what I suggest. > >Usage: put the attached regi-mac.tex in your path, and either rebuild >your format files (i.e., texexec --make ...), or explicitly \input this >file in your source. Add the line "\enableregime[mac]" to your source. >Type s=F8me t=E8xt with =ABa=E7=E7ents=BB =E5nd =F6ther odd characters. I replaced the old regi-max by this one (minus the table) >Does it work? dunno since i didn't put it on the mac yet (working on a pc now) -) concerning the rgime table: \starttext \def\showregime {\dosingleempty\doshowregime} \def\doshowregime[#1]% {\bgroup \iffirstargument\enableregime[#1]\fi \starttabulate[|l|l|l|] \dostepwiserecurse{128}{255}{1} {\expanded {\scantokens {\NC \recurselevel \NC \rawcharacter\recurselevel \NC \noexpand\tttf \noexpand\meaning \rawcharacter\recurselevel \NC \NR}}}% \stoptabulate \unskip \egroup} \showregime[mac] \stoptext I've added this macro to context (enco-run, i.e. a runtime macro) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------