ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \defineitemgroup
@ 2004-09-01 19:55 Nikolai Weibull
  0 siblings, 0 replies; only message in thread
From: Nikolai Weibull @ 2004-09-01 19:55 UTC (permalink / raw)


\defineitemgroup is, excuse my rage, fucking messed up.

I have

\defineitemgroup
  [algorithmio]
  [levels=1]
\setupalgorithmio
  [5*broad,
   packed]
  [symstyle=slanted]

This does not affect the rendering of

\starttext
\startalgorithmio
\sym{Input:} ...
\sym{Output:} ...
\stopalgorithmio
\stoptext

Why, oh why, is this so.  I've just wasted two hours trying to figure
it out, and I'm a bit tired of it.

Update (1 minute after finishing above):  ARGH!  Just realized it now.
I'm so stupid for not figuring this out sooner.  The level of the
itemgroup must be given!!!  OMG...  Please Hans, when you get the time,
update the documentation for core-itm.tex.

Anyway, it should be

\setupalgorithmio
  [1]
  [5*broad,
   packed]
  [symstyle=slanted]

The same thus goes for \setupitemize if anyone runs into unforseen
trouble with it.
	nikolai

--
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-01 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-01 19:55 \defineitemgroup Nikolai Weibull

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