> %D \macros > %D {doiftextelse, doiftext} > %D > %D When \type {\doifelse} cum suis hopelessly fail, for > %D instance because we pass data, we can fall back on the next > %D macro: > %D > %D \starttyping > %D \doiftextelse {data} {then branch} {else branch} > %D \doiftext {data} {then branch} > %D \stoptyping
Works neatly! Thanks a lot. Oliver ___________________________________________________________________________________ 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 ___________________________________________________________________________________