Hello, Is it possible to check (in a macro definition) if the character following the macro is included in a set of characters?
Something that could work like this: \def\MyMacro#1{% \ifNextCharIn{abcd} \dothis% \else \dothat% \fi% } Cheers. ___________________________________________________________________________________ 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 ___________________________________________________________________________________