From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85140 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: bug in linenote? Date: Thu, 07 Nov 2013 20:13:45 +0100 Message-ID: <527BE669.2090409@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1383851628 2262 80.91.229.3 (7 Nov 2013 19:13:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Nov 2013 19:13:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 07 20:13:54 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 1VeV1d-0005mZ-Ra for gctc-ntg-context-518@m.gmane.org; Thu, 07 Nov 2013 20:13:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0DBED1020A; Thu, 7 Nov 2013 20:13:53 +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 5P7lNnRYprwP; Thu, 7 Nov 2013 20:13:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8E1CD101EF; Thu, 7 Nov 2013 20:13:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 046D8101EF for ; Thu, 7 Nov 2013 20:13:49 +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 irYQegz8CmNz for ; Thu, 7 Nov 2013 20:13:47 +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 A932C101EA for ; Thu, 7 Nov 2013 20:13:47 +0100 (CET) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rA7JDk4B015197 for ; Thu, 7 Nov 2013 20:13:47 +0100 Original-Received: from localhost.localdomain ([88.9.248.24]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LfC00-1Vy9Vy1Y52-00olYX for ; Thu, 07 Nov 2013 20:13:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 X-Provags-ID: V03:K0:hS7zcmjK2+8xx8VBjcLLKiPiQPhViGbh8szBL0QwVQn+qEW01+p tR66IcPIKNeAwxc/WV5MKnp8L3fzRn3qLydzSmGBH4kQf9+fPfIWryqaWHmOZbkCwrL3O8v swY95RmWb4z23JJfa9AEby1RGyb4UGnxDgbk9EXPBEcnHv/KK2rNBROOaFmEsResXfOpPF4 9tjqxCdPjRWJKmPJ4fasQ== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.15.15; 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: 0QKKHdKIs - a59399b67bb0 - 20131107 (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:85140 Archived-At: Dear list, I have a sample of nested linenotes (containing an user-defined command): \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 Nesting the above defined \CritApp makes the line number to be 0 and disables hyphenation of the nested text (at least). I think this is a bug in ConTeXt. Could anyone confirm this? 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 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 ___________________________________________________________________________________