Wednesday, August 27, 2003 Peter Rolf wrote:

PR> Hello all,

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

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

PR> % syst-gen.tex
PR> \def\dosetvalue#1#2% #3
PR>   [EMAIL PROTECTED] % {#3}}
PR> \def\getparameters   {\dogetparameters\dosetvalue}

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

The trick is in mult-ini.tex, which redefines dosetvalue & co
to support the multilingual interface; this is a problem when
you want to get raw (unconverted) keyword/value sets, which is
why it fails. ConTeXt used to have "raw" version of the
do..value commands, but they disappeared at one point. Yes,
they should be re-introduced.

-- 
Giuseppe "Oblomov" Bilotta



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

Reply via email to