From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78275 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Strange bug with reversed itemize Date: Thu, 13 Sep 2012 18:36:26 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1347575691 21585 80.91.229.3 (13 Sep 2012 22:34:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 22:34:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 14 00:34:55 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 1TCHzr-0005pK-3k for gctc-ntg-context-518@m.gmane.org; Fri, 14 Sep 2012 00:34:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 02D9010209; Fri, 14 Sep 2012 00:34:51 +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 wSdsYHVC-e61; Fri, 14 Sep 2012 00:34:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5BF4D101F0; Fri, 14 Sep 2012 00:34:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 060B6101F0 for ; Fri, 14 Sep 2012 00:34:46 +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 1705VQYB14cE for ; Fri, 14 Sep 2012 00:34:43 +0200 (CEST) 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 13C4E101EF for ; Fri, 14 Sep 2012 00:34:42 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8DMYe3f001346 for ; Fri, 14 Sep 2012 00:34:41 +0200 Original-Received: FROM Decentralized.ECE.McGill.CA (Decentralized.ECE.McGill.CA [132.206.69.142]) By hackers.mr.itd.umich.edu ID 50525F7F.A1D9C.6231 ; Authuser adityam; 13 Sep 2012 18:34:39 EDT In-Reply-To: User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QHWKyE7p - 74796b570c32 - 20120914 (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:78275 Archived-At: On Thu, 13 Sep 2012, Aditya Mahajan wrote: > On Thu, 13 Sep 2012, Otared Kavian wrote: > >> On 13 sept. 2012, at 02:34, Aditya Mahajan wrote: >> >>> For some reason, the numbering in itemize is affected by the value of >>> userpage! >>> >>> \setupuserpagenumber[start=12] >>> \starttext >>> \startitemize[n,reverse] >>> \item One >>> \item Two >>> \stopitemize >>> \stoptext >>> >>> With ConTeXt 2012.09.11 20:36 I get >>> >>> 13. One >>> 12. Two >>> >>> Any ideas? >> >> Yes it is a strange behaviour and it appears only when using mkiv and >> reversed itemize, even with >> \setuppagenumber[start=12] >> instead of >> \setupuserpagenumber[start=12] >> Also the pagenumber remains unchanged with either of these commands, which >> means that it's a bug. >> >> I tested your example with Context version 2011.11.29, mkiv and there >> everything is correct. > > Thanks for testing. I also tested with 2012.07. I have been able to isolate the bug to the update on 2012.07.09; specifically to this commit. http://repo.or.cz/w/context.git/blobdiff/6f124794f7dc253f8b83f2517c26ce17e50d66ff..refs/heads/origin:/tex/context/base/strc-num.mkiv If I replace the current version of strc-num.mkiv with the version from 2012.07.09: http://repo.or.cz/w/context.git/blob_plain/6f124794f7dc253f8b83f2517c26ce17e50d66ff:/tex/context/base/strc-num.mkiv then the numbering is correct. However, I cannot figure out what is causing the bug in that change. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________