Re: [NTG-context] nesting \startitemize
On 10/7/07, frantisek holop wrote: hi there, context, just as latex can nest \startitemize, the context manual says max level 4. by default context uses the symbols for these 4 levels o level 1: bullet -- level 2: dash * level 3: asterisk level 4: triangle it is very easy to change these per the manual. but how can i make \startitemize use ordered lists by default? this is sometimes more useful for scientific works... e.g. latex by default does: 1. arabic numerals (a) letters i. roman numerals o bullet (ok, the 4th one isn't very logical in latex either...) and another question, how can make \startitemize[a] do (a) instead of a. ? \setupitemize[1][n] \setupitemize[2][a][left=(,right=),stopper=] \setupitemize[3][i] \setupitemize[4][1] % symbol nr. 1 Mojca ___ 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] nesting \startitemize
hmm, on Sun, Oct 07, 2007 at 09:02:34PM +0200, Mojca Miklavec said that \setupitemize[1][n] \setupitemize[2][a][left=(,right=),stopper=] \setupitemize[3][i] \setupitemize[4][1] % symbol nr. 1 ehm... thank you very much :} -f -- if you don't think women are explosive, just drop one! ___ 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] nesting \startitemize
hmm, on Sun, Oct 07, 2007 at 09:02:34PM +0200, Mojca Miklavec said that \setupitemize[1][n] \setupitemize[2][a][left=(,right=),stopper=] \setupitemize[3][i] \setupitemize[4][1] % symbol nr. 1 ok, i would like to create 2 types of itemizations like in latex. \begin{enumarate} vs \begin{itemize} (or in html ol vs ul) \begin{itemize} is basically \startitemize how would i go about defining \startenumarate ? i thought of something like this, but it's not working: \startsetups enum \setupitemize[1][n] \setupitemize[2][a][left=(,right=),stopper=] \setupitemize[3][i] \setupitemize[4][1] % symbol nr. 1 \stopsetups \definestartstop[enum][command=\setups{enum}] \starttext \startenum \item test \stopenum \stoptext 1. it doesnt work if there's no blank line between \item and \stopenum i seem to recall something about a needed \par because of internal workings. 2. it doesnt work, the setupitemize's are either not picked up or are being overrided. -f -- funny how life imitates lsd. ___ 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] nesting \startitemize
On Sun, 7 Oct 2007, frantisek holop wrote: hmm, on Sun, Oct 07, 2007 at 09:02:34PM +0200, Mojca Miklavec said that \setupitemize[1][n] \setupitemize[2][a][left=(,right=),stopper=] \setupitemize[3][i] \setupitemize[4][1] % symbol nr. 1 ok, i would like to create 2 types of itemizations like in latex. \begin{enumarate} vs \begin{itemize} (or in html ol vs ul) \begin{itemize} is basically \startitemize how would i go about defining \startenumarate ? i thought of something like this, but it's not working: \defineitemgroup [enum] [levels=6] \setupitemgroup[enum][1][n] \setupitemgroup[enum][2][a][left=(,right=),stopper=] % etc.. \starttext \startenum \item one \startenum \item two \stopenum \stopenum \stoptext 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 ___