At 11:17 PM 2/27/2003 +0100, you wrote:
Hello,

following up to a recent post on comp.text.tex I'd like to bring
forth an enhancement request for itemgroups: in the current
implementation it is not possible to set up itemgroups to use the
non key=value pairs settings. IOW, one cannot say

\defineitemgroup[myitems]
\setupmyitems[each][A]

and have the items come up numbered with capital letters. Some
keywords (like: joinedup) work, some others (the numbering type
ones, for example, or "columns") don't work. For what I can see by
looking at the code, this depends on these settings being looked
for *not* when setting up the itemizations, but in the actual
moment when the \start<itemgroup> is issued (this is for example
the case for "columns").

Enhancement request: allow all keywords to work. I think the most
straightforward way to implement this is to simply store the
keywords and put them as default values when \start<itemgroup> is
called (this would even, I suspect, simplify the handling of the
itemgroup setups ...)


\defineitemgroup[test]
\setupitemgroup[test][headstyle=slanted]
\setupitemgroup[test][2][packed]

% \setupitemgroup[test][each][packed]

\starttest
\head test \par test
\item test
      \starttest
      \item test
      \item test
      \stoptest
\item test
\stoptest

so, it's there already; in principle the following should work:

\setupitemgroup[test][levellist][keyvals]
\setupitemgroup[test][levellist][keys]
\setupitemgroup[test][levellist][keyvals][keys]

\setupitemgroup[test][keyvals]
\setupitemgroup[test][keys]
\setupitemgroup[test][keyvals][keys]

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                       information: http://www.pragma-ade.com/roadmap.pdf
                    documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to