[luatex] [NTG-context] Itemize without page break

Kip Warner kip at thevertigo.com
Tue Mar 20 06:31:22 CET 2012


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.

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

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://tug.org/pipermail/luatex/attachments/20120319/0f5f20b7/attachment-0001.bin>


More information about the luatex mailing list