From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79795 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Doubled annotation content Date: Thu, 6 Dec 2012 17:27:06 -0500 (EST) Message-ID: References: <20121206202408.GC26897@homerow> <6146FF36-1CA1-4723-BA75-3DE0CFCF9836@gmail.com> <20121206220008.GD26897@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-759724314-1354832828=:11206" X-Trace: ger.gmane.org 1354832839 7533 80.91.229.3 (6 Dec 2012 22:27:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2012 22:27:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 06 23:27:32 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tgjuj-0008KA-6E for gctc-ntg-context-518@m.gmane.org; Thu, 06 Dec 2012 23:27:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B69C8102B1; Thu, 6 Dec 2012 23:27:16 +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 r9pz5Ne320kl; Thu, 6 Dec 2012 23:27:14 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D9C4710263; Thu, 6 Dec 2012 23:27:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF81F10263 for ; Thu, 6 Dec 2012 23:27:12 +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 FPmdYXByqi4C for ; Thu, 6 Dec 2012 23:27:11 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 6026710260 for ; Thu, 6 Dec 2012 23:27:11 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qB6MR8V4012802 for ; Thu, 6 Dec 2012 23:27:10 +0100 Original-Received: FROM Decentralized.ECE.McGill.CA (Decentralized.ECE.McGill.CA [132.206.69.142]) By hackers.mr.itd.umich.edu ID 50C11BBB.ABF5F.3921 ; Authuser adityam; 6 Dec 2012 17:27:07 EST In-Reply-To: <20121206220008.GD26897@homerow> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TIwmr9Oj - 901e33a14c2d - 20121206 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79795 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-759724314-1354832828=:11206 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 6 Dec 2012, Marco Patzer wrote: > On 2012=E2=80=9312=E2=80=9306 Otared Kavian wrote: > >> It seems that your command \cmd places again the content=E2=80=A6 > > That's not the case. Check this example: > > \usemodule [annotation] > > \defineannotation > [first] > [alternative=3Dcommand, > command=3D\cmdFirst] > > \defineannotation > [second] > [alternative=3Dcommand, > command=3D\cmdSecond] > > \def\cmdFirst{} > \def\cmdSecond > {\placeannotationcontent} Untested: Does \unexpanded\def\cmdSecond ... help? > \starttext > \startfirst > first %% not printed > \stopfirst > > \startsecond > second %% printed twice > \stopsecond > \stoptext Aditya --8323328-759724314-1354832828=:11206 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323328-759724314-1354832828=:11206--