ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* parameter mechanism
@ 2003-08-27 13:32 Peter Rolf
  2003-08-27 14:56 ` Giuseppe Bilotta
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Peter Rolf @ 2003-08-27 13:32 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

Hello all,

I have problems to understand the command (parameter) mechanism of context.
My experiments with \getparameters didn't work, so I used 
\xdescgetparameters
from Giuseppe Bilotta (t-xdesc.tex).
In my eyes they look the same, but \xdescgetparameters works with my sample
code, \getparameters don't. Mhhh....

% t-xdesc.tex
\def\xdescsetvalue#1#2{\expandafter\def\csname#1#2\endcsname}
\def\xdescgetparameters{\dogetparameters\xdescsetvalue}

% syst-gen.tex
\def\dosetvalue#1#2% #3
  {\@EA\def\csname#1#2\endcsname} % {#3}}
\def\getparameters   {\dogetparameters\dosetvalue}

This leads me to my two questions:
What must I change, to make my test example run with \getparameters?

Where is the error in my \docommand? All parameters but [height] work and
the tracing output at this parameter (\OTRSETshowstatus) says nothing to me.

Thanks for any help,

   Peter


P.S.: using miktex 2.3, context version 21.08.2003

[-- Attachment #2: Cmd.tex --]
[-- Type: application/x-tex, Size: 1373 bytes --]

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

end of thread, other threads:[~2003-08-28 10:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-27 13:32 parameter mechanism Peter Rolf
2003-08-27 14:56 ` Giuseppe Bilotta
2003-08-27 16:53   ` Hans Hagen
2003-08-27 17:03     ` Re[2]: " Giuseppe Bilotta
2003-08-27 17:22       ` Re[3]: " Giuseppe Bilotta
2003-08-28  8:38         ` Hans Hagen
2003-08-28 10:49           ` Peter Rolf
2003-08-27 16:54 ` Hans Hagen
2003-08-27 16:55 ` Patrick Gundlach
2003-08-27 19:18   ` Simon Pepping
2003-08-27 20:33     ` Patrick Gundlach

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