Hi Aditya, Thanks for having sent the example file: indeed with your file I can typeset the example and see the expected result. I don’t know what happened when I copied and pasted the example from the e-mail… I think the command % macros = mkvi was not set correctly written at the first line, that is I had a space before the percent sign « % ». In fact %macros=mkvi or %macros = mkvi work as well.
By the way, wouldn’t be more user friendly, and more in the spirit of ConTeXt, if we had a command saying \enablemode[mkvi] in order to tell ConTeXt that we are using %macros = mkvi ? Best regards: OK > On 18 Aug 2017, at 17:54, Aditya Mahajan <adit...@umich.edu> wrote: > > On Fri, 18 Aug 2017, Otared Kavian wrote: > >> Hi Aditya, >> >> I tried to typeset your example, but got an error: whether or not the command >> % macros=mkvi >> is present on the fist line, then ConTeXt complains saying that >> ! Illegal parameter number in definition of \MyHeader >> and stops typesetting pointing to the command \stoptexdefinition. > > I am attaching the file. It runs fine here with ConTeXt ver: 2017.08.14 > 23:57. > > Aditya<frame.tex>___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________