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 : [email protected] / 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
___________________________________________________________________________________