On Thu, 13 Sep 2012, Aditya Mahajan wrote:
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/6f124794f7dc253f8b83f2517c26ce17e50...
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/6f124794f7dc253f8b83f2517c26ce17e...
then the numbering is correct.
However, I cannot figure out what is causing the bug in that change.
The bug disappears if I add \setupstructurecounting[start=0] or \setupstructurecounting[start=\zerocount] in the test file! Aditya