From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85307 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: (critical edition) nesting linenotes Date: Mon, 18 Nov 2013 20:55:06 +0100 Message-ID: <528A709A.3020902@gmx.es> 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 1384804507 22718 80.91.229.3 (18 Nov 2013 19:55:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Nov 2013 19:55:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 18 20:55:14 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 1ViUuf-0004kP-LZ for gctc-ntg-context-518@m.gmane.org; Mon, 18 Nov 2013 20:55:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 03BA410220; Mon, 18 Nov 2013 20:55:13 +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 Sn1AHmE5pclp; Mon, 18 Nov 2013 20:55:11 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2787010224; Mon, 18 Nov 2013 20:55:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1FE9E10224 for ; Mon, 18 Nov 2013 20:55:10 +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 ZRBe+PjTszy2 for ; Mon, 18 Nov 2013 20:55:08 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id E44A610220 for ; Mon, 18 Nov 2013 20:55:08 +0100 (CET) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAIJt8dx025170 for ; Mon, 18 Nov 2013 20:55:08 +0100 Original-Received: from localhost.localdomain ([88.5.202.38]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MFctN-1Vx1dx0YB3-00EeRp for ; Mon, 18 Nov 2013 20:55:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 X-Provags-ID: V03:K0:Y15xJV2nNQt4IRfcjs5m9luWwVaA6LxScl2R0d5pR2Qq449Cm61 QrNYzbpM95IQPfdLs8GBt3FM0EjJD2CYWF6y7q7mFIYz1Ji4NSHMjkYNOgF7ws8icGLMMID vrWdk63QFi60SqGHwuvfl9LvFJPSGQ1QYzH/mkJlFNbS7OZL4u2+8hZvHddnNPqY86kZZPp lFb/4i8XB/qcFb2DsxZAA== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.20; 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: 0QKP7T8We - 6bf94a99d747 - 20131118 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:85307 Archived-At: Dear Thomas, Luigi and Hans, my second sample might be related to the first one. But I=92m not sure it is a bug. Here is the code: \setuppapersize[A8] \newcounter\MyCounter \def\CritApp#1#2{\increment\MyCounter% \startlinenote[Varia:\MyCounter]{#1] #2}#1% \prewordbreak\stoplinenote[Varia:\MyCounter]} \starttext \startlinenumbering \startlinenote[one]{hyphenated}this is a test on \startlinenote[two]{with nested linenote}hyphenation\prewordbreak\stoplinenote[two]\stoplinenote[one] \CritApp{this is a test on \CritApp{hyphenation}{nested linenote: bad line number}}{not hyphenated} \stoplinenumbering \stoptext A command such as \CritApp above is intended to generate all linenote references automagically. It works fine, but I cannot nest \CritApp linenotes. The problem is in within this line: \startlinenote[Varia:\MyCounter]{#1] #2}#1% If I replace "{#1] #2}#1" with {#2}#1, nesting \CritApp linenotes, everything works as expected. Is this a bug? Many thanks for your help, 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 ___________________________________________________________________________= ________