From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83448 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: weird interaction in linenotes command (again) Date: Wed, 17 Jul 2013 21:05:05 +0200 Message-ID: <4F9901D8-3C1E-4650-88FF-95464B59B7C6@gmail.com> References: <51E6D88A.8040403@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1374087948 24819 80.91.229.3 (17 Jul 2013 19:05:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jul 2013 19:05:48 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 17 21:05:50 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 1UzX2l-0007fH-CD for gctc-ntg-context-518@m.gmane.org; Wed, 17 Jul 2013 21:05:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 431C8101E0; Wed, 17 Jul 2013 21:05:37 +0200 (CEST) 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 VEXi4kYR8wxm; Wed, 17 Jul 2013 21:05:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E9DC9101E4; Wed, 17 Jul 2013 21:05:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3DE6A101E4 for ; Wed, 17 Jul 2013 21:05:24 +0200 (CEST) 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 OrVWuwxLqZdh for ; Wed, 17 Jul 2013 21:05:04 +0200 (CEST) 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 575C4101E0 for ; Wed, 17 Jul 2013 21:05:04 +0200 (CEST) Original-Received: from mail-ea0-x236.google.com (mail-ea0-x236.google.com [IPv6:2a00:1450:4013:c01::236]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r6HJ58gH001213 for ; Wed, 17 Jul 2013 21:05:09 +0200 Original-Received: by mail-ea0-f182.google.com with SMTP id d10so1260152eaj.27 for ; Wed, 17 Jul 2013 12:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=I/fr8EEI9AtveDrdk6kT2vjRnI0+kvVQ3KQNEjSYEjI=; b=zMRvNdj5FgfBhxISrk323Yc7b1or+IaxXq5VS8j1rm5MiEIGWrXVxYBOUuqVu0ZCAy kxQstMn/i1ymq7JqQ77ukMOvL7I9eQeLcQY6h25be1eH4tHMeyy6YJA8aXV0A1r/6vyu vn0Sg2mYc/57A45URdcBVKRhjK0qPkFyOzZ6B7Xh1CAokUW/yRUZB+iGQ4m1jO7Pflq0 Y33jHQYVJ4KaMEB4eBr0PS8meJwLs4njmbyMK5rxGWI7Qy4+9TaeGSYYHADKl0gYHUib KcHd2PF6YCKMf0l9wi1C+yG/OAMKPp/swk066tV987qh9Y7AvQ9U18hNZiOUSIt8yO4b 8mhQ== X-Received: by 10.14.10.6 with SMTP id 6mr7448490eeu.84.1374087908892; Wed, 17 Jul 2013 12:05:08 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbe77c8.pool.mediaWays.net. [77.190.119.200]) by mx.google.com with ESMTPSA id p49sm13134290eeu.2.2013.07.17.12.05.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Jul 2013 12:05:08 -0700 (PDT) In-Reply-To: <51E6D88A.8040403@web.de> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::236; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TK1v593J - bb522d756206 - 20130717 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:83448 Archived-At: Am 17.07.2013 um 19:46 schrieb Pablo Rodr=EDguez : > Dear list, > = > sorry for posting this again, but I don=92t know how to solve this issue > and I really need your help. > = > I have the following sample: > = > \setuppapersize[A6] > \newcounter\LineNote > = > \setupnote[linenote][paragraph=3Dyes] > \setupnotation[linenote][alternative=3Dserried] > = > \define[2]\Variant > {\increment\LineNote > \startlinenote[LineNote:\LineNote]{#2}#1% > \stoplinenote[LineNote:\LineNote]} > = > \starttext > = > \startlinenumbering > \dorecurse{10}{\Variant{\showhyphens{legislation}not > original}{variant} \Variant{\showhyphens{legibility}origin} > {variants} } > \stoplinenumbering > \stoptext > = > The problem here is that \Variant gets always #1 not hyphenated, > although \showhyphens works fine in that argument. > = > The cause of this is the \increment command within \Variant. I don=92t > know why this happens, but the increment is required by \Variant to make > sense at all. > = > I guess this might be a bug. Is there no possible workaround for this? I have no solution but a better example because it=92s a bug in the referen= ce mechanism (also used by line notes) as shown below. \setuppapersize[A6] \starttext \dorecurse{10}{not original } \dorecurse{10}{not \pagereference[test:#1]original } \stoptext The problem is the following code in the reference macros (str-ref.mkvi), when the box code is commented the hyphenation works. \unexpanded\def\strc_references_set_named_reference_indeed#kind#labels#user= data#text% labels userdata text -> todo: userdata {... % will become an option: \ifnum\lastdestinationattribute>\zerocount \dontleavehmode\hbox attr \destinationattribute\lastdestinationattribu= te\bgroup \strc_references_flush_destination_nodes \egroup \fi} Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________