From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85613 Path: news.gmane.org!not-for-mail From: Jannik Voges Newsgroups: gmane.comp.tex.context Subject: incrementing counters in tables Date: Tue, 10 Dec 2013 19:47:40 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Content-Type: multipart/mixed; boundary="===============1429358351==" X-Trace: ger.gmane.org 1386701273 31743 80.91.229.3 (10 Dec 2013 18:47:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Dec 2013 18:47:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 10 19:48:00 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 1VqSLf-0000DN-KN for gctc-ntg-context-518@m.gmane.org; Tue, 10 Dec 2013 19:47:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BFF0510217; Tue, 10 Dec 2013 19:47:58 +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 JbERKd6zqLw2; Tue, 10 Dec 2013 19:47:57 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E01A210201; Tue, 10 Dec 2013 19:47:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7EE9710201 for ; Tue, 10 Dec 2013 19:47:55 +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 y5ufDK0eSill for ; Tue, 10 Dec 2013 19:47:50 +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 B453E101F0 for ; Tue, 10 Dec 2013 19:47:50 +0100 (CET) Original-Received: from st11p05mm-asmtp003.mac.com (st11p05mm-asmtp003.mac.com [17.172.108.248]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rBAIlnE5032549 for ; Tue, 10 Dec 2013 19:47:50 +0100 Original-Received: from [192.168.2.100] (p5B03A98C.dip0.t-ipconnect.de [91.3.169.140]) by st11p05mm-asmtp003.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0MXL00839TJHPV20@st11p05mm-asmtp003.mac.com> for ntg-context@ntg.nl; Tue, 10 Dec 2013 18:47:49 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87,1.0.14,0.0.0000 definitions=2013-12-10_06:2013-12-10,2013-12-10,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1308280000 definitions=main-1312100127 X-Mailer: Apple Mail (2.1822) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=17.172.108.248; country=US; region=CA; city=Cupertino; postalcode=95014; latitude=37.3042; longitude=-122.0946; metrocode=807; areacode=408; http://maps.google.com/maps?q=37.3042,-122.0946&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QKXSLNkl - 7d49934f4601 - 20131210 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:85613 Archived-At: --===============1429358351== Content-type: multipart/signed; boundary="Apple-Mail=_B0E8E07D-A63E-4700-915C-0EAB789CE9B0"; protocol="application/pgp-signature"; micalg=pgp-sha512 --Apple-Mail=_B0E8E07D-A63E-4700-915C-0EAB789CE9B0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Dear ConTeXt-Users, I want to use counters in tables. But incrementing counters in tables = doesn=92t work as expected. For example, when I typeset the following = example, I get numbers between 80 and 119, I would expect numbers = between 0 and 39. How can I get the desired numbers? \definenumber[test] \starttext \bTABLE \dorecurse{8}{ \bTR \dorecurse{5}{\bTD \rawcountervalue[test]\incrementnumber[test] = \eTD} \eTR } \eTABLE \stoptext Thanks Jannik Voges --Apple-Mail=_B0E8E07D-A63E-4700-915C-0EAB789CE9B0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJSp2HMAAoJECmq9C3tfCYrgp8P/itf486S03/FhrD9wlRX+UCt FQV/0np8ZGbVdiPtx/XSkm0v2dcQfBwf/3lPJvL49ruMtiVanU6vFILBKoi1rbHa EogTuh0S0sNnqiOQcPMxK9gFjolIbUujpLRMe8UAuBkN6VTNh6mpTXs+RWo5kQhS +f5/3PCr2JtGfCJovbe1Vbnq+g+MVV8klnYFh97aiJeazx5z5gVmc7aL9JnA8e5j lY6tmV4zSKSO7qd2IE9i++xjyXYsG2oE8zi/vjTt6uluvaPu8EI4I4WsLMncnyIU vNfg8B/YgVTMe5rJ6RoFAGoE5r2S5aOvhj3gmAj/enzHxAUZEMoF+6Gd06Q0Zt7U QVCZMEfBgqfQDSuG0rqh+2/28a8JN5QScWygSdBtep3VFXdnEwvpNMtrmoR1b3VG x5EyNnnXpR3wsSqDYaYvdrINBcuYGhiDgI7Lm/+iaLcMJVOZC6crT037N8j57Pwx JUn1kt5cMSZ4uZzAdxTco4LS5LpSGWOgvoH/zrAxuo4C2Hwgtwm4B8KBJSK5nUwD NXPAFxwvCmhF8wk08SwSz8Tn1K/deFWFA5QQsODbOBlccEQRpDTu8jhaAbN5SnH1 Afglbzhmmav6OY6WTVtHxcItdce3IwJif/vi3JCqtWpCraLuOUJUfbH9Pk9jE7Mc YH1OSQsqh18q5hhugcsK =h2x4 -----END PGP SIGNATURE----- --Apple-Mail=_B0E8E07D-A63E-4700-915C-0EAB789CE9B0-- --===============1429358351== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1429358351==--