On Tue, Jan 19, 2010 at 9:26 PM, Aditya Mahajan <adit...@umich.edu> wrote:

>> % is problmeatic because you need a character to start a comment
>> and there is AFAIK no way to get the same result from % with a macro
>
> \comment{something}

better something like this where the comment ends at the end of the line

\bgroup \obeylines

\gdef\texcomment%
  {\begingroup%
   \obeylines%
   \dotextcomment}

\gdef\dotextcomment#1
  {\endgroup}

\egroup

\starttext

Auf%
lage

Auf\texcomment test
lage

\stoptext

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
___________________________________________________________________________________

Reply via email to