When typesetting an enumeration with a specified item text I encountered an error with the combination of [loose] with \sym{} and \mar{}. The hope was that "loose" will allow underfull filling of the lines without complaint (I don't like TeX complaining) An example follows: \starttext \setupitemize[loose] \startitemize \sym {xyz} 12345 \stopitemize \stoptext Error message: ! Undefined control sequence. <argument> \optimizeitemsfalse \p!compareprocessaction ...commalistelement {#3}#2 \expandafter \quitcommalis... etc. Is this expected behaviour? The manual does not give me an idea about that. yours sincerely, dr. H. van der Meer
Hans van der Meer wrote:
Error message: ! Undefined control sequence. <argument> \optimizeitemsfalse
\p!compareprocessaction ...commalistelement {#3}#2 \expandafter \quitcommalis... etc.
Is this expected behaviour? The manual does not give me an idea about that.
No, the internal macro \dododosetupitemgroupconstant has bug. The loose line has to be: \v!loose*=>\setfalse\optimizelistitem, instead of \v!loose*=>\optimizeitemsfalse, But it would not have helped for you underfull hbox messages, loose is about vertical (pagebreak) optimizations. Your best bet is \setuptolerance[stretch,verytolerant] Cheers, taco
Taco Hoekwater wrote:
No, the internal macro \dododosetupitemgroupconstant has bug. The loose line has to be:
\v!loose*=>\setfalse\optimizelistitem,
instead of
\v!loose*=>\optimizeitemsfalse,
ah, stupid me, repaired Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Hans van der Meer
-
Taco Hoekwater