Hello Peter,

I am not so sure if I can help you, but I'll give it a try. 

The examples are taken from my t-layout module.

I wanted to have 

\ShowLayout[a=b,c=d]

but with the possibility to say \ShowLayout without [ ]. So I define
\ShowLayout as 

\def\ShowLayout{\dosingleempty\doShowLayout} 

and \doShowLayout as

\def\doShowLayout[#1]{%
   \getparameters[ShowLayout][#1]

   (some not important stuff)

}

to access a value, just use \getvalue{ShowLayout....} where ... is
your keyword.

I hope I did not forget anything.


Patrick
-- 
Silent is the goldfish in its bowl
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to