From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/653 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: definecasemap Date: Fri, 16 Jul 1999 16:19:54 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <378F3F8A.DB8C0E80@wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391502 25881 80.91.224.250 (23 Oct 2002 16:45:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:45:02 +0000 (UTC) Cc: NTG-CONTEXT Original-To: Taco Hoekwater Xref: main.gmane.org gmane.comp.tex.context:653 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:653 Hi, There is already \definecasemap 128 to 255 which sets them all to the charcode. Do you mean (remark in enco file) that you want: \def\definecasemaps #1 to #2 lc #3 uc #4 {\dostepwiserecurse{#1}{1}#2} {\!!counta=\recurselevel\advance\!!counta by #3 \!!countb=\recurselevel\advance\!!countb by #4 \expanded{\definecasemap\space \recurselevel\space\the\!!counta\space\the\!!countb\space}}} \definecasemaps 128 to 156 lc 32 uc 0 with 32 and 0 being offsets? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------