From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31759 Path: news.gmane.org!not-for-mail From: Enzo Cordes Newsgroups: gmane.comp.tex.context Subject: Re: character redefinition environment Date: Mon, 06 Nov 2006 17:40:40 +0100 Organization: PLINK Message-ID: <454F6588.4030502@veribox.net> References: <454DFA03.8060801@veribox.net> <454E1C00.6040906@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1162832160 18222 80.91.229.2 (6 Nov 2006 16:56:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Nov 2006 16:56:00 +0000 (UTC) Cc: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 06 17:55:58 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1Gh7WT-0004in-UL for gctc-ntg-context-518@m.gmane.org; Mon, 06 Nov 2006 17:40:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EA9E01FFDA; Mon, 6 Nov 2006 17:40:32 +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 31474-02; Mon, 6 Nov 2006 17:40:24 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9339B1FF68; Mon, 6 Nov 2006 17:40:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8DCB61FFDA for ; Mon, 6 Nov 2006 17:40:20 +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 31036-05-4 for ; Mon, 6 Nov 2006 17:40:08 +0100 (CET) Original-Received: from rune.pobox.com (rune.pobox.com [208.210.124.79]) by ronja.ntg.nl (Postfix) with SMTP id 3271F1FF57 for ; Mon, 6 Nov 2006 17:40:04 +0100 (CET) Original-Received: from rune (localhost [127.0.0.1]) by rune.pobox.com (Postfix) with ESMTP id 95AA98FEF1; Mon, 6 Nov 2006 11:40:23 -0500 (EST) Original-Received: from [84.159.85.227] (p549F55E3.dip.t-dialin.net [84.159.85.227]) by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id E23F78FED6; Mon, 6 Nov 2006 11:40:21 -0500 (EST) User-Agent: Thunderbird 1.5.0.7 (X11/20060927) Original-To: Hans Hagen In-Reply-To: <454E1C00.6040906@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:31759 Archived-At: Many thanks, Hans! I wasn't sure I made myself clear, but defineactivecharacter does the job very very nicely. One day I understand one of its many definitions - especially the \uccode tilde business, which is probably necessary for the TeX mastication process ;-) Enzo Hans Hagen wrote: > | is already active, but not b > > \bgroup > \catcode`B=\active > \def\start... > > \egroup > > otherwise a 'character B' and not an 'active character B' ends up in the > definition > > This may be easier: > > \def\Whatever > {\defineactivecharacter B {[oeps]}} > > bla bla \start \Whatever B \stop ble bla