>>> - maybe switch to mkvi as named parameters make rewriting >>> macros a breeze >> >> Would you elaborate a bit further? > > You can use for the parameter in your macros names instead of number, > as you can see below the first definition uses “#1” for the argument while > the second uses “#text”. > > You can force MkIV mode when you add “% macros=mkvi” at the top > of the file. When your code is a external file (e.g. a module) you can > give it “mkvi” as file extension (instead of the normal “tex” or “mkiv”) > and don’t need this line anymore.
I had tried named parameters and I didn't know why it was not working... now I know! :-) I have one question: - What does it happen when there is a quotation mark (") inside the parameter? Do I need to "escape" the contents passed to the macro? André Caldas. ___________________________________________________________________________________ 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 ___________________________________________________________________________________