From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85333 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: Re: (critical edition) nesting linenotes Date: Tue, 19 Nov 2013 17:48:55 +0100 Message-ID: <528B9677.5000406@gmx.es> References: <528A709A.3020902@gmx.es> <528A93F2.8060803@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1384879754 2298 80.91.229.3 (19 Nov 2013 16:49:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Nov 2013 16:49:14 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 19 17:49:17 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VioUE-0003pI-K7 for gctc-ntg-context-518@m.gmane.org; Tue, 19 Nov 2013 17:49:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0B5881022B; Tue, 19 Nov 2013 17:49:14 +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 8mjtd6mwPoUo; Tue, 19 Nov 2013 17:49:08 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 85FF1101EF; Tue, 19 Nov 2013 17:49:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AFA6B101EF for ; Tue, 19 Nov 2013 17:49:07 +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 9nkraabddzia for ; Tue, 19 Nov 2013 17:49:05 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 24A32101EA for ; Tue, 19 Nov 2013 17:49:05 +0100 (CET) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAJGn2wv001689 for ; Tue, 19 Nov 2013 17:49:02 +0100 Original-Received: from localhost.localdomain ([83.43.220.80]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0M6Ana-1VSmjH3zGU-00y6Th for ; Tue, 19 Nov 2013 17:49:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: <528A93F2.8060803@wxs.nl> X-Provags-ID: V03:K0:QJ8H3GXW2SMiba46DO4L05j2hyQoqNJbiok3jmeeW+qqMeDwh7F +i51EMrJ5S77AVR1yzPXYDLxeA1gnLIE/5m6Nvvuw+fYUC571eOeG95852iPN0nkeWYnrZA PLxBt3LfR/nRTSaXx04uv2V8E80L4eCFoMrUS1sAgc9mWRro3v+9E9wDFOxuBToojM2mvB1 LLyPrkHd+HrTQhIMFFKwg== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.15.18; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NKPsN2e7 - 9d6c30f83545 - 20131119 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:85333 Archived-At: On 11/18/2013 11:25 PM, Hans Hagen wrote: > [...] > \unexpanded\def\doCritApp#1#2#3% > {\startlinenote[#1]{#2 #3}(#2)\stoplinenote[#1]} > = > \newcounter\MyCounter > \unexpanded\def\CritApp > {\doglobal\increment\MyCounter > \normalexpanded{\doCritApp{Varia:\MyCounter}}} > [...] > so, in your macro you need to make sure that the counter (1) gets = > incremented global and (2) gets expanded in time. Many thanks for your help, Hans. I know that it works, but I cannot understand what it actually the above commands do. Where could I find what expansion is? (Sorry for the basic question, but I don=92t know what it is.) Many thanks for your help again, Pablo -- = http://www.ousia.tk ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________