On Fri, 20 Apr 2007, Zhichu Chen wrote:

> Hi Aditya,
>
> Thank you for pointing out my foolish mistake.

Remember that this only works if each paragraph is a single line. See 
the output of

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

\input knuth

\stoptext

Aditya

>
> On 4/20/07, Aditya Mahajan <[EMAIL PROTECTED]> wrote:
>> 
>> 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
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> 
>
>
>
>

-- 
Aditya Mahajan | EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam | Ph: 734.262.4008
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to