From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85090 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: issue with linenotes command Date: Mon, 04 Nov 2013 21:53:07 +0100 Message-ID: <52780933.4050601@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 1383598498 15364 80.91.229.3 (4 Nov 2013 20:54:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2013 20:54:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 04 21:55:04 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 1VdR9J-0008TM-5f for gctc-ntg-context-518@m.gmane.org; Mon, 04 Nov 2013 21:53:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A87E10219; Mon, 4 Nov 2013 21:53:24 +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 HmoJnBpEyvzW; Mon, 4 Nov 2013 21:53:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E0B66101EF; Mon, 4 Nov 2013 21:53:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 36808101EF for ; Mon, 4 Nov 2013 21:53:20 +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 u7rakbJUBlwP for ; Mon, 4 Nov 2013 21:53:19 +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 1F5B1101E5 for ; Mon, 4 Nov 2013 21:53:19 +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 rA4KrCSJ000568 for ; Mon, 4 Nov 2013 21:53:18 +0100 Original-Received: from localhost.localdomain ([83.43.217.101]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LqQzp-1W8fE10QwT-00e8lU for ; Mon, 04 Nov 2013 21:53:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 X-Provags-ID: V03:K0:SOecvo1cWcF+ov8k5OCgFdDhVK7Lv0hlKsbblKUCG+013Mw8IEk FXKudLU+KgF/IVNUFyxMcDzmexM/9f9ZgnvNENnrR1i48S+I+nJD7da4cJBbJQpJtM5/scE g/4/FtzWFxs5AfL64lXMxnAOmkIwqHFfWMRz+H+2KQOegFSxja10cIE2uyNGDN4hjmHrnlY hrdt9VFtvfUzH538Fmklg== 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: 0QKJwRcxT - ce407c3125ff - 20131104 (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:85090 Archived-At: Dear list, in order to avoid the issue with many references in critical editions and linenotes, I have a command that makes this automatic (thanks to Wolfgang=92s help). But the issue is that it breaks the =93external=94 linenote when a linenote is nested in it. Here you have a sample: \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 \showhyphens{legibility} \stoptext All the problem comes from the need to add the body text (the first argument of the \CritApp command) in the linenote text itself. Is there a way to make the main linenote in the sample work? 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 ___________________________________________________________________________= ________