On Mon, Nov 16, 2009 at 10:58 PM, Aditya Mahajan
On Mon, 16 Nov 2009, luigi scarso wrote:
On Mon, Nov 16, 2009 at 10:29 PM, Aditya Mahajan
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