From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67173 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Macro for acronyms Date: Sat, 19 Mar 2011 10:30:30 +0100 Message-ID: <7BC19FF3-F07E-45C5-8E04-C641C204D174@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1300527045 2376 80.91.229.12 (19 Mar 2011 09:30:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 09:30:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 19 10:30:41 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0sUb-0006Ul-C6 for gctc-ntg-context-518@m.gmane.org; Sat, 19 Mar 2011 10:30:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A1A20CAB0A; Sat, 19 Mar 2011 10:30:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id L9ofjS07Zxbb; Sat, 19 Mar 2011 10:30:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EC7CECAB0C; Sat, 19 Mar 2011 10:30:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 045ABCAB0C for ; Sat, 19 Mar 2011 10:30:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OXDqbFkSDCZf for ; Sat, 19 Mar 2011 10:30:29 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id DA986CAB0A for ; Sat, 19 Mar 2011 10:30:28 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2J9UXRx012278 for ; Sat, 19 Mar 2011 10:30:33 +0100 Original-Received: by bwz17 with SMTP id 17so5339746bwz.14 for ; Sat, 19 Mar 2011 02:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=MSTJr7SmvAgeAw0rGG20CKR2qEqOJDRiFxrhbebM0Zk=; b=iLaOTpOGdo0UTtNkMh8gLTm+At3OJMSWiS0pQFQ2+nKSj0fph3TKmYZn3M3pwbdeMd Nd8fe0khqL6q7MWmen6FruYrMvx8M3uK0Y9axclTOlLCujLey46P6DjYrbIbb1SBm6rP cRaNtNG5TbI6uhCszFsVjoqW3Rh3bYTRwog1E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=mihkf8vX3dWpTVqRG+RQdX8ehB43EvK9Kvm52s/Q+JXA6UAm+8t+JHqYTeAzU4C0LW At05zByou54Nd5UDwwQNGCV6JvX2P8HCbE0DpjtflWKs2X3mFxBTokcxUZCdtRfweqp9 c6+TMhHJO4mfIrkOXlERlMd1TFis1M6WaViqI= Original-Received: by 10.204.15.75 with SMTP id j11mr1783351bka.20.1300527032939; Sat, 19 Mar 2011 02:30:32 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B296A3C.dip.t-dialin.net [91.41.106.60]) by mx.google.com with ESMTPS id q18sm2724760bka.15.2011.03.19.02.30.31 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Mar 2011 02:30:32 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 03EkVuxzT - ea3b13c1ceab - 20110319 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:67173 Archived-At: Am 19.03.2011 um 04:08 schrieb Aditya Mahajan: > \def\FancyUppercase#1% > {\dostartFancyUppercase#1\dostopFancyUppercase} > > \def\dostartFancyUppercase#1#2\dostopFancyUppercase > {\FancyFirstLetter{#1}#2} > > > \def\Acronym#1% > {\dostartAcronym#1 \dostopAcronym} > > \def\dostartAcronym#1 #2\dostopAcronym > {\doifsomething{#1} > {\FancyUppercase{#1} %space > \dostartAcronym#2 \dostopAcronym}} \def\Acronym#1% {\startpacked \processseparatedlist[#1][ ]\doAcronym \stoppacked} \def\doAcronym#1% {\getfirstcharacter{#1}% {\FancyFirstLetter\firstcharacter}\remainingcharacters\par} 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________