From: Peter Schorsch <tralalas@freenet.de>
To: ntg-context@ntg.nl
Subject: how to get a commalist out of {}-brackets
Date: Thu, 30 Aug 2007 21:27:20 +0200 [thread overview]
Message-ID: <fb75ol$a4v$1@sea.gmane.org> (raw)
Hi,
I need to forward an embedded commalist to an subfunction. The problem: how
can I get rid of the {}-brackets to access the embedded commalist?
The functions looks like:
\def\function#1[#2]
{\getparameters[label][a=,b=,embedded=,#2]
subfunction[\labelembedded]
...}
\def\subfunction#1[#2]
{\getparamters[label][a,c,#1]
\labela % will answer with emptyness
#2 % returns {a=,c=} ... but I need for the getparamteres a=,c=
...}
to call the function:
\function[a=etwas,b=ddd,embedded={a=nochWas,c=hope}]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2007-08-30 19:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-30 19:27 Peter Schorsch [this message]
2007-08-30 19:55 ` Aditya Mahajan
2007-08-31 18:26 ` Peter Schorsch
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='fb75ol$a4v$1@sea.gmane.org' \
--to=tralalas@freenet.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).