ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Itemize numbering
Date: Wed, 30 Apr 2008 13:05:32 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.1.00.0804301303260.11283@nqv-yncgbc> (raw)
In-Reply-To: <BB6AFF78-5D09-4EA0-869B-537CD9DDCE78@fiee.net>

On Wed, 30 Apr 2008, Henning Hraban Ramm wrote:

> Am 2008-04-29 um 17:49 schrieb Aditya Mahajan:
>>> I just tried the following on Context Live:
>>>
>>> \starttext
>>> \startitemize[n]
>>>  \item one
>>>  \item two
>>>    \startitemize
>>>      \item a
>>>      \item b
>>>    \stopitemize
>>>  \item three
>>> \stopitemize
>>> \stoptext
>>>
>>> and the first itemize starts at 0.  Remove the inner itemize and
>>> it starts
>>> at 1.
>>>
>>> Is this a feature or a bug?  How do I get around it?
>>
>> I can confirm that here. This is indeed a bug.
>
> I reported some weeks ago that numbering starts always at 0 with --once
>
> I guess Hans & Co went after the dictum of Dijkstra[0], as quoted
> recently by Knuth[1], that counting should start at 0 ;-)
>
> [0] http://en.wikipedia.org/wiki/Edsger_W._Dijkstra
> [1] http://www.informit.com/articles/article.aspx?p=1193856

The reason for all these bugs of starting with zero is my reqest for a 
reverse key to itemize and then I could not foresee all the use cases.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-04-30 17:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29 14:45 richard.stephens
2008-04-29 15:49 ` Aditya Mahajan
2008-04-30 12:36   ` Henning Hraban Ramm
2008-04-30 17:05     ` Aditya Mahajan [this message]
2008-05-02 12:47 ` Aditya Mahajan
2008-05-02 14:03 richard.stephens
2008-05-19 12:08 itemize numbering Hans van der Meer
2008-05-19 12:15 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.1.00.0804301303260.11283@nqv-yncgbc \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).