Don't worry. It's not needed. I just wanted to avoid mix Lua and TeX codes.

I will survive using:

local s = "\getvariable{namespace}{var}"

Thank you by attention.

--
Wagner Macedo


On 5 January 2012 14:39, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:

Am 05.01.2012 um 18:22 schrieb Wagner Macedo:

> Firstly, thanks by answer.
>
> The second way is nice, but could be generic (e.g. save any variable in a namespace)?

It would require a different method because \setvariables doesn’t provide
information about the values which are set. Can you describe what do you
want to achieve and I can try to provide a better solution.

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________