[NTG-context] adding value to key

Hans Hagen pragma at wxs.nl
Thu Nov 3 11:51:00 CET 2005


Taco Hoekwater wrote:

>
> Hi Peter,
>
> I am attaching t-valext.tex, a quicky module I wrote this morning
> that allows the use of \currentvalue in (I believe) all assignments,
> like so:
>
>   \setupexternalfigures[directory={\currentvalue,another/dir}]

interesting, may make it into the kernel -)

i wonder if this is faster:

     
\@EA\let\@EA\currentvalue\csname\ifcsname\csname#2#3\endcsname#2#3\else\s!empty\fi\endcsname

(it sometimes is faster to have everything inside the \csname)

Hans


More information about the ntg-context mailing list