On Sun, Jun 28, 2020 at 10:48 PM Jairo A. del Rio <jairoadelr...@gmail.com> wrote:
> I've read the following is not possible in TeX > > \def#1\macro{blabla#1} > > where arguments come before. The only partial exceptions are commands like > \atop or \over, which are in fact primitives. Is there a way to do this in > ConTeXt? > > you can build a lpeg and parse the your "extended tex" source, obtaining a valid tex source. -- luigi
___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________