[NTG-context] Re: High level user macro (howto?)
Bonjour Maurice, One thing is missing in context (or not documented in reference manual?) is a standard and easy way to build arbitrary parametrised high level macros. what about: \def\myCommand{\dosingleempty\doMyCommand} \def\doMyCommand[#1]{% \getparameters[XYZ][#1]% define your own ``namespace'' \getvalue{XYZtexti} } \starttext \startlines Hello \myCommand \setvalue{XYZtexti}{World} Hello \myCommand Hello \myCommand[texti=Maurice] \stoplines \stoptext Patrick -- texshow-web: http://members.ping.de:8061 ConTeXt wiki: http://members.ping.de:8062 ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: High level user macro (howto?)
Le 28 juin 04, à 11:49, Patrick Gundlach a écrit : One thing is missing in context (or not documented in reference manual?) is a standard and easy way to build arbitrary parametrised high level macros. Thank to you(s) for your macros exemples, I've now to build mu own sample in the next two months, and I then will surely post news questions before it is finished :-) I like the fact one can have our own namespace. ConTeXt is realy amazing : should be called LaTeX3 (as soon as the reference manual is finished ;-) Amicalement, -- Maurice ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context