Vit Zyka wrote:
What about use the same parameter parser as in the \setparameters:
\def\rawgetparameters{\dogetparameters\rawdosetvalue}
[EMAIL PROTECTED]
there's:
\setvariables[namespace][key=value]
\getvariable{namespace}{key}
the raw ones are for situations where speed is needed, so don't
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.
I fixed this a while ago, and not have:
\def\rawgetparameters[#1][#2% some 5-10% faster
{\ifx#2]% test is needed, else bomb on
Vit Zyka wrote:
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.
I fixed this a while ago, and not have:
%D \macros
%D {rawgetparameters}
%D
%D A raw and dirty alternative
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
> \rawge
On Fri, 23 Jul 2004 12:53:33 +0200
Vit Zyka <[EMAIL PROTECTED]> wrote:
> That is true I was not familiar about \c!... But problem is not in
> familiarity with ConTeXt source but Dutch language. One should write
> \c!tekstbreedte instead of \c!textwidth. For non Dutch it means all the
> time sea
Thank you Taco.
I can imagine next solutions:
1) Do not use predefined keys in my macros, e.g. textWidth instead of
textwidth [=user unfriendly].
If you decide on this solution, please use Textwidth instead (at least
something that starts with a capital letter).
OK, but I do not like this solut
Hi Vit,
On Fri, 23 Jul 2004 10:46:10 +0200, Vit wrote:
>
> I can imagine next solutions:
> 1) Do not use predefined keys in my macros, e.g. textWidth instead of
> textwidth [=user unfriendly].
If you decide on this solution, please use Textwidth instead (at least
something that starts with
Hallo ConTeXters,
I am playing with defining my own macro with key=value parameters.
Please, consider definition:
\def\setupField[#1]#2[#3]{\getparameters[Field!#1!][#3]}
\setupField[name][mykey=value,textwidth=2cm]
If you let ConTeXt to show the values by
\message{
}
you obt