* beta (itemize fit-option)
@ 2011-03-26 19:24 Andreas Harder
2011-03-27 6:06 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Harder @ 2011-03-26 19:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: beta (itemize fit-option)
2011-03-26 19:24 beta (itemize fit-option) Andreas Harder
@ 2011-03-27 6:06 ` Wolfgang Schuster
2011-03-27 13:46 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-03-27 6:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 : 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: beta (itemize fit-option)
2011-03-27 6:06 ` Wolfgang Schuster
@ 2011-03-27 13:46 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2011-03-27 13:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-27 13:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-26 19:24 beta (itemize fit-option) Andreas Harder
2011-03-27 6:06 ` Wolfgang Schuster
2011-03-27 13:46 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).