Am 25.10.2010 um 23:00 schrieb Aditya Mahajan: > In addition to usual asciimode, I changed the definition so that % does not > have its usual meaning. So, % is no longer a comment; it just typesets > percentage sign. You can get a comment using > > \starthiding ... \stophiding.
But there is now command which end at the end of the line like a normal comment, maybe this should be added to luatex (like we have \Ustartmath ... \Ustopmath as alternative to $...$) >> Any known side-effects? > > * You need to use \math{...} to go into math mode. $ will just give a dollar. There is also \formula{...}. > * You need \startformula ... \stopformula to go into display math. > $$...$$ will just print dollars. > > * _ in text mode will produce an underscore instead of an error. _ in math > mode will work fine. The same for ^. > > * You need > > \starttex(something) (I don't remember on the top of my head) > \def\whatever#1{...} > \stoptex(something) > > to change the definition of a macro. \starttexcode ... \stoptexcode Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________