Hi all, the fit-option in itemize-environments seem to be broken. Can someone confirm this? \starttext \startitemize[R,fit] % ,fit -> error \dorecurse{8}{\item test} \stopitemize \stoptext Greeting Andreas
Am 26.03.2011 um 20:24 schrieb Andreas Harder:
Hi all,
the fit-option in itemize-environments seem to be broken. Can someone confirm this?
strc-itm.mkiv (wrong order of arguments for \simplealignedbox): \def\dolistitem % evt aantal items opslaan per niveau, scheelt zoeken {\ifconditional\textlistitem ... \ifconditional\fittinglistitems \ifdim\wd\itemgroupitembox>\getitemparameter\currentitemlevel\c!maxwidth sp\relax \xsetitemparameter\currentitemlevel\c!maxwidth{\number\wd\itemgroupitembox}% \fi \ifdim\currentitemmaxwidth>\zeropoint \setbox\itemgroupitembox\simplealignedbox - {\getitemparameter\currentitemlevel\c!itemalign} - {\dimexpr\currentitemmaxwidth+\getitemparameter\currentitemlevel\c!distance\relax} + {\dimexpr\currentitemmaxwidth+\getitemparameter\currentitemlevel\c!distance\relax} + {\getitemparameter\currentitemlevel\c!itemalign} {\box\itemgroupitembox\hskip\getitemparameter\currentitemlevel\c!distance}% \fi \else\ifdim\itemgroupaskedwidth>\zeropoint \doifsomething{\getitemparameter\currentitemlevel\c!itemalign} {\setbox\itemgroupitembox\simplealignedbox - {\getitemparameter\currentitemlevel\c!itemalign} - {\dimexpr\itemgroupaskedwidth+\getitemparameter\currentitemlevel\c!distance\relax} + {\dimexpr\itemgroupaskedwidth+\getitemparameter\currentitemlevel\c!distance\relax} + {\getitemparameter\currentitemlevel\c!itemalign} {\box\itemgroupitembox\hskip\getitemparameter\currentitemlevel\c!distance}}% \fi\fi ... \ignorespaces} Wolfgang
On 27-3-2011 8:06, Wolfgang Schuster wrote:
\def\dolistitem % evt aantal items opslaan per niveau, scheelt zoeken
thanks, fixed ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Andreas Harder
-
Hans Hagen
-
Wolfgang Schuster