From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11080 Path: main.gmane.org!not-for-mail From: Simon Pepping Newsgroups: gmane.comp.tex.context Subject: Re: Expansion problem in natural table Date: Tue, 18 Feb 2003 21:11:52 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20030218201152.GA1225@scaprea> References: <20030208205254.GA1686@scaprea> <5.1.0.14.1.20030209212337.0321af18@remote-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045600176 22774 80.91.224.249 (18 Feb 2003 20:29:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2003 20:29:36 +0000 (UTC) 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 18lEMu-0005ut-00 for ; Tue, 18 Feb 2003 21:29:32 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 191F810AEF; Tue, 18 Feb 2003 21:29:31 +0100 (MET) Original-Received: from hgatenl.hobby.nl (ns.hobby.nl [212.72.224.8]) by ref.ntg.nl (Postfix) with ESMTP id 141B310AE8 for ; Tue, 18 Feb 2003 21:27:49 +0100 (MET) Original-Received: from hgatenl.hobby.nl (localhost [127.0.0.1]) by hgatenl.hobby.nl (8.12.6/8.12.2) with ESMTP id h1IKRmiZ010301 for ; Tue, 18 Feb 2003 21:27:48 +0100 (CET) (envelope-from spepping@scaprea.hobby.nl) Original-Received: (from uucp@localhost) by hgatenl.hobby.nl (8.12.6/8.12.2/Submit) with UUCP id h1IKRmtP010300 for ntg-context@ntg.nl; Tue, 18 Feb 2003 21:27:48 +0100 (CET) Original-Received: from simon by scaprea.salix.nl with local (Exim 3.35 #1 (Debian)) id 18lE5o-0000dU-00; Tue, 18 Feb 2003 21:11:52 +0100 Original-To: ntg-context@ntg.nl Mail-Followup-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <5.1.0.14.1.20030209212337.0321af18@remote-1> User-Agent: Mutt/1.3.28i 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:11080 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11080 On Sun, Feb 09, 2003 at 09:26:27PM +0100, Hans Hagen wrote: > At 09:52 PM 2/8/2003 +0100, Simon Pepping wrote: > > ah, the umlauts ... > > even if it would work out ok, it looks to ugly, so how about: > > \def\somethingsimon{blabla} > > \bTABLE > \bTR\safeexpanded{\bTD\Aumlaut}\eTD\eTR > \bTR\safeexpanded{\bTD\noexpand\somethingsimon\Aumlaut}\eTD\eTR > \eTABLE > > with in enco-ini: > > \appendtoks > \keepencodedtokens > \to \everysafeexpanded > > and in syst-gen: > > \newtoks\everysafeexpanded > > \long\def\safeexpanded#1% > {\begingroup > \the\everysafeexpanded\long\xdef\@@expanded{\noexpand#1}% > \endgroup > \@@expanded} > > A more contexy alternative -) This works fine, provided \keepencodedtokens exists, which is only in more recent context versions. Regards, Simon -- Simon Pepping email: spepping@scaprea.hobby.nl