On Mon, Nov 16, 2009 at 10:58 PM, Aditya Mahajan <adit...@umich.edu> wrote: > On Mon, 16 Nov 2009, luigi scarso wrote: > >> On Mon, Nov 16, 2009 at 10:29 PM, Aditya Mahajan <adit...@umich.edu> >> wrote: >> >>> I think that itemize should adjust \hsize, so this is probably a bug in >>> itemize. >> >> hmm I'm not sure to understand what you mean >> What is wrong in this ? >> >> \starttext >> \dorecurse{20}{% >> \hsize=\dimexpr \textwidth / 20 *\recurselevel\relax >> \framed[width=broad,align=middle]{\the\hsize}%% A >> \startitemize >> \item \framed[width=broad,align=middle]{\the\hsize}%% B >> \item \framed[width=\hsize,align=middle]{\the\hsize}%% C >> \stopitemize >> \page >> } >> \stoptext >> >> I see A = B = C; is it correct ? > > That is wrong behaviour.We should have B = C = A - itemgrouplistwidth. > > Otherwise, the frames inside the itemize environment exceed the total width. Ah, but I'm not sure that \hsize and \startitemize must play well together \showframe \starttext \dorecurse{1}{% \hsize=\dimexpr \textwidth / 1 *\recurselevel\relax \framed[width=broad,align=middle]{\the\hsize} \startitemize \item \framed[width=broad,align=middle]{\the\currentitemmaxwidth,\the\hsize,\the\localhsize} \item \framed[width=\hsize,align=middle]{\the\hsize} \item \the\hsize \input tufte \the\hsize % \stopitemize \page } \stoptext
-- luigi ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________