ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Philipp A." <flying-sheep@web.de>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: handling key=value sets with lua
Date: Sun, 9 Jan 2011 23:41:06 +0100	[thread overview]
Message-ID: <AANLkTik=1ZUrmJWkWFUqyoXNjmRGidmi6g5Ybd7_QprD@mail.gmail.com> (raw)
In-Reply-To: <4D2A3587.5040508@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 638 bytes --]

2011/1/9 Hans Hagen <pragma@wxs.nl>

> On 9-1-2011 11:13, Philipp A. wrote:
>
>  i wanted to instead define bigcrafting to work like this:
>> \bigcrafting
>>   [21=planks, 22=planks,
>>    31=planks, 32=planks]
>>   [workbench]
>>
>> but \getparameters<
>> http://wiki.contextgarden.net/Commands_with_KeyVal_arguments>can’t
>> handle numerical values.
>>
>
> Why now?
>
> \getparameters[MyNameSpace][1=a,2=b]
>
> \getvalue{MyNameSpace1}
>
> works ok.
>

ok, i just knew of \MyNameSpaceKey, which doesn’t work if the key consists
numbers. thanks again!
ConTeXt seems to be your personal baby, isn’t it? ;)

[-- Attachment #1.2: Type: text/html, Size: 1156 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2011-01-09 22:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-09 22:13 Philipp A.
2011-01-09 22:24 ` Hans Hagen
2011-01-09 22:41   ` Philipp A. [this message]
2011-01-09 22:43 ` luigi scarso

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='AANLkTik=1ZUrmJWkWFUqyoXNjmRGidmi6g5Ybd7_QprD@mail.gmail.com' \
    --to=flying-sheep@web.de \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).