[NTG-context] Itemize without page break

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Mar 20 06:46:00 CET 2012

Am 20.03.2012 um 06:31 schrieb Kip Warner:

> On Tue, 2012-03-20 at 06:22 +0100, Wolfgang Schuster wrote:
>> The problem is the empty second argument.
>> \startitemize[before=\startlinecorrection,after=\stoplinecorrection][]
>> When you pass two arguments with \startitemize the first argument os for keywords (e.g. packed or fit)
>> and second argument is for assignments (e.g. width=3cm) in your case context is looking for the keywords
>> “before=\startlinecorrection” and “after=\stoplinecorrection” which results in a loop.
> Even if that were the case, that's a fragility that no program should
> its users endure. It should probably have bailed with an error message
> after seeing that the second argument was empty rather than taking down
> the entire operating system with it.

TeX has it’s problem with certain errors, accept it.

> But regardless, this does not seem to be the case. The following minimal
> still blows up, even with an assignment in the second parameter.
> \starttext
>    \startitemize[before=\startlinecorrection,after=
> \stoplinecorrection][start=11]
>    \item foo
>    \stopitemize
> \stoptext

You can’t have a assignment in both parameters because this would lead to the same problem as before,
combine both settings in one argument and it works.


More information about the ntg-context mailing list