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
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________