From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49690 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Macro question - uppercase Date: Tue, 21 Apr 2009 16:36:23 +0200 Message-ID: References: <5780939E-8399-406D-AE0F-3F60FBCB216F@gmail.com> <49EDD68F.1090306@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240324710 8594 80.91.229.12 (21 Apr 2009 14:38:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2009 14:38:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 21 16:39:49 2009 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 1LwH8M-0004RR-JO for gctc-ntg-context-518@m.gmane.org; Tue, 21 Apr 2009 16:39:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3520F1FC21; Tue, 21 Apr 2009 16:38:06 +0200 (CEST) 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 06563-03; Tue, 21 Apr 2009 16:37:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 401631FC0B; Tue, 21 Apr 2009 16:37:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E1AC1FC0B for ; Tue, 21 Apr 2009 16:37:22 +0200 (CEST) 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 13321-03 for ; Tue, 21 Apr 2009 16:37:07 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id 58DA21FC00 for ; Tue, 21 Apr 2009 16:37:07 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3LEb2pF009254 for ; Tue, 21 Apr 2009 16:37:02 +0200 Original-Received: by fg-out-1718.google.com with SMTP id e21so826412fga.8 for ; Tue, 21 Apr 2009 07:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=eib7FH9sWf3atAoW+TC/Kz6QiEB3opDAu2aPXUApGWg=; b=eeex6kf1qtd3nmCqPoBWeGfaNSsIUs2kYvijP+JsjlF+fP0jiWYntVaCCz5IbGxTWe TBajlzzmjmv3AsYoUPFjmE92sy26Grg7gr2UsBnnGKpy8oPglz6SF5nBQ+/LT4HjmrCU lxriiNfGi9D6OFqYZskyYU6fu50PzcWSOdJfM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=k/RlTEiwlWmsclvL5AIyYOR84AehuUCqRmmVcV20afj0GC8zxGFCFBiGEnxsU0q5ew IcvdADl6ybCwg5KMVShI6vyUviZzqmXZQ8zbW5qwFR20LzQyqx70R9KvvkfqOC8ifOLH Pn+94MtE/KOZQwoyg5AYyIFtmr4cvEcrw8Nd8= Original-Received: by 10.86.94.11 with SMTP id r11mr4639952fgb.53.1240324622144; Tue, 21 Apr 2009 07:37:02 -0700 (PDT) Original-Received: from ?10.70.48.125? ([82.113.106.147]) by mx.google.com with ESMTPS id d4sm3459743fga.26.2009.04.21.07.36.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Apr 2009 07:37:00 -0700 (PDT) In-Reply-To: <49EDD68F.1090306@wxs.nl> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.158; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 212041038 - 45dc60e4ca35 - 20090421 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:49690 Archived-At: Am 21.04.2009 um 16:22 schrieb Hans Hagen: >> \def\savedcommands#1% >> {\edef\ascii{\csname saved!#1\endcsname}% >> \uppercase{\expandafter\let\csname#1\endcsname\ascii}} > > dirty eh? > > \def\savedcommands#1% > {\uppercase{\expandafter\let\csname#1\expandafter\endcsname}\csname > saved!#1\endcsname} very nice and very simple, thank you Hans Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________