ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <gip.bilotta@iol.it>
Subject: Re[2]: key=value parameters
Date: Fri, 23 Jul 2004 13:32:01 +0200	[thread overview]
Message-ID: <895088253.20040723133201@iol.it> (raw)
In-Reply-To: <4100EE2D.4000906@seznam.cz>

Friday, July 23, 2004 Vit Zyka wrote:

>> Actually there is no need to define anything, you can just use \rawgetparameters
>> instead of  \getparameters.

> Great, but unfortunately it does not work with empty parameter list [].
> No I have no time but I will look for better definition of 
> \rawgetparameters and \rawsetparameter.

A common workaround to this problem (which Hans should fix,
though) is to force the list to not be empty.

Say for example that parameter #1 of your macro accepts the
user list of key=values. you would then use

\rawgetparameters[something=else,#1]

This way, even if #1 is empty it will work.

-- 
Giuseppe "Oblomov" Bilotta

  parent reply	other threads:[~2004-07-23 11:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23  8:46 Vit Zyka
2004-07-23  9:12 ` Taco Hoekwater
2004-07-23 10:53   ` Vit Zyka
2004-07-23 11:07     ` Taco Hoekwater
2004-07-23 11:32     ` Giuseppe Bilotta [this message]
2004-07-23 18:46     ` Hans Hagen Outside
2004-07-24  8:56       ` Vit Zyka
2004-07-24 16:10         ` Hans Hagen Outside

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=895088253.20040723133201@iol.it \
    --to=gip.bilotta@iol.it \
    --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).