[NTG-context] itemize numbering
The following minimal example goes wrong: \starttext \startitemize[a] \item sub a \startitemize \item sub a1 \item sub a2 \stopitemize \item sub b \stopitemize \stoptext The result is: . sub a - sub a1 - sub a2 a. sub b Whereas: \starttext \startitemize[a] \item sub a \item sub b \stopitemize \stoptext results in the expected output: a. sub a b. sub b Both mkii and mkiv show this behaviour. Versions are: This is pdfTeXk, Version 3.141592-1.40.7 (Web2C 7.5.6) ConTeXt ver: 2008.04.18 14:17 MKII fmt: 2008.4.19 int: english/ english Is this corrected in a later version than I have installed or is it still present? Hans van der Meer ___ 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 ___
Re: [NTG-context] itemize numbering
On Mon, May 19, 2008 at 2:08 PM, Hans van der Meer [EMAIL PROTECTED] wrote: The following minimal example goes wrong: \starttext \startitemize[a] \item sub a \startitemize \item sub a1 \item sub a2 \stopitemize \item sub b \stopitemize \stoptext The result is: . sub a - sub a1 - sub a2 a. sub b Whereas: \starttext \startitemize[a] \item sub a \item sub b \stopitemize \stoptext results in the expected output: a. sub a b. sub b Both mkii and mkiv show this behaviour. Versions are: This is pdfTeXk, Version 3.141592-1.40.7 (Web2C 7.5.6) ConTeXt ver: 2008.04.18 14:17 MKII fmt: 2008.4.19 int: english/ english Is this corrected in a later version than I have installed or is it still present? Works with the latest version on the wiki. Hans van der Meer Wolfgang ___ 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 ___
Re: [NTG-context] Itemize numbering
Aditya, Many thanks, that works beautifully. Thanks again. Richard On Tue, 29 Apr 2008, [EMAIL PROTECTED] wrote: Hello All, 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? Here is a modified core-itm.tex that corrects this bug. 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 ___
Re: [NTG-context] Itemize numbering
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 Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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 ___
Re: [NTG-context] Itemize numbering
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 ___
[NTG-context] Itemize numbering
Hello All, 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? Thanks, Richard ___ 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 ___
Re: [NTG-context] Itemize numbering
On Tue, 29 Apr 2008, [EMAIL PROTECTED] wrote: Hello All, 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. 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 ___