ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* itemize[loose]
@ 2006-01-26 20:15 Hans van der Meer
  2006-01-27  7:46 ` itemize[loose] Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Hans van der Meer @ 2006-01-26 20:15 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: itemize[loose]
  2006-01-26 20:15 itemize[loose] Hans van der Meer
@ 2006-01-27  7:46 ` Taco Hoekwater
  2006-01-27  9:03   ` itemize[loose] Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2006-01-27  7:46 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: itemize[loose]
  2006-01-27  7:46 ` itemize[loose] Taco Hoekwater
@ 2006-01-27  9:03   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2006-01-27  9:03 UTC (permalink / raw)


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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-27  9:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-26 20:15 itemize[loose] Hans van der Meer
2006-01-27  7:46 ` itemize[loose] Taco Hoekwater
2006-01-27  9:03   ` itemize[loose] 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).