[NTG-context] Basic TeX question, how to redefine ^^M

Aditya Mahajan adityam at umich.edu
Fri Apr 20 06:16:34 CEST 2007


On Fri, 20 Apr 2007, Zhichu Chen wrote:

> Hi everybody,
> =====================
> \def\^^M{\endgraf\page[yes]}
> =====================
> nothing happened.
>
> So I'm lost. Can you tell me how to make it?

This seems to work for me:

\starttext
\catcode`\^^M=\active
\def^^M{\page[yes]}


This

Test

\stoptext

Aditya


More information about the ntg-context mailing list