From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76149 Path: news.gmane.org!not-for-mail From: Peter Schorsch Newsgroups: gmane.comp.tex.context Subject: Re: Did usage of \expanded changed? Date: Fri, 11 May 2012 16:59:13 +0200 Message-ID: <20120511165913.271a7bfa@freenet.de> References: <20120511132834.27268b02@freenet.de> <4FAD01B1.9080700@uni-bonn.de> 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: dough.gmane.org 1336748535 18312 80.91.229.3 (11 May 2012 15:02:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 May 2012 15:02:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 11 17:02:13 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SSrMA-0000wX-6l for gctc-ntg-context-518@m.gmane.org; Fri, 11 May 2012 17:02:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5BB61101E5; Fri, 11 May 2012 17:02:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MJi0cL1I69Fy; Fri, 11 May 2012 17:02:05 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C0954101E2; Fri, 11 May 2012 17:02:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 22A65101E2 for ; Fri, 11 May 2012 17:02:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hVjD8wjFt-QB for ; Fri, 11 May 2012 17:01:58 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 007AD101E0 for ; Fri, 11 May 2012 17:01:57 +0200 (CEST) Original-Received: from mout6.freenet.de (mout6.freenet.de [IPv6:2001:748:100:40::2:8]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q4BF1v72005961 for ; Fri, 11 May 2012 17:01:57 +0200 Original-Received: from [195.4.92.141] (helo=mjail1.freenet.de) by mout6.freenet.de with esmtpa (ID tralalas@freenet.de) (port 25) (Exim 4.76 #1) id 1SSrLw-0002ay-Pt for ntg-context@ntg.nl; Fri, 11 May 2012 17:01:56 +0200 Original-Received: from localhost ([::1]:56130 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID tralalas@freenet.de) (Exim 4.76 #1) id 1SSrLv-0003yl-1k for ntg-context@ntg.nl; Fri, 11 May 2012 17:01:55 +0200 Original-Received: from [195.4.92.14] (port=52233 helo=4.mx.freenet.de) by mjail1.freenet.de with esmtpa (ID tralalas@freenet.de) (Exim 4.76 #1) id 1SSrJL-0002Vc-H3 for ntg-context@ntg.nl; Fri, 11 May 2012 16:59:15 +0200 Original-Received: from 31-18-187-91-dynip.superkabel.de ([31.18.187.91]:15596 helo=freenet.de) by 4.mx.freenet.de with esmtpsa (ID tralalas@freenet.de) (UNKNOWN:AES128-SHA:128) (port 25) (Exim 4.76 #1) id 1SSrJK-0001CT-TK for ntg-context@ntg.nl; Fri, 11 May 2012 16:59:15 +0200 In-Reply-To: <4FAD01B1.9080700@uni-bonn.de> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; i686-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2001:748:100:40::2:8; country=DE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07H8D1VRN - c4f69ac64380 - 20120511 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:76149 Archived-At: > See this thread: > http://archive.contextgarden.net/message/20120402.144627.e46a9f9f.en.html > > and try to construct a "minimal example" next time. I converted my number to counter and shrinked my example - but the problem still occurs: Instead of the counter value when I set the reference I get always the latest value: Should be 1: 3 Should be 2: 3 Should be 3: 3 instead of Should be 1: 1 Should be 2: 2 Should be 3: 3 ---8<------shrinked example-------------- \unprotect \definecounter[ParagraphCounter][way=bysection,prefix=no] \def\markParagraph[#1]% {\getrawparameters[Paragraph][mark=,#1]% \incrementcounter[ParagraphCounter]% \expanded{\textreference[\Paragraphmark]{\convertedcounter[ParagraphCounter]}}} \protect \starttext \markParagraph[mark=aaa] \input tufte \markParagraph[mark=bbb] \input tufte \markParagraph[mark=ccc] Should be 1: \in[aaa] Should be 2: \in[bbb] Should be 3: \in[ccc] \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________