From: Peter Rolf <peter.rolf@arcor.de>
Subject: parameter mechanism
Date: Wed, 27 Aug 2003 15:32:32 +0200 [thread overview]
Message-ID: <3F4CB2F0.2020705@arcor.de> (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 --]
next reply other threads:[~2003-08-27 13:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-27 13:32 Peter Rolf [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F4CB2F0.2020705@arcor.de \
--to=peter.rolf@arcor.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).