Hi Hans,
Thank you and thank Aditya for helping me so much.
Your codes are OK with some small test files. But in my file, pdftex just
hang up. I used page arrangement, and pop 26 sub-pages (\box255 or
something) onto a pdf page, and pdftex refuse to go on when the log shows
that the 14th page
On Mon, 23 Apr 2007, Zhichu Chen wrote:
Hi, Aditya
I've made another definition, the output is OK, with some errors. Can you
tell me what's wrong?
Here is a more robust solution
\everypar{%
\let\normalpar\par%
\let\par\donothing%
\page[yes]%
\let\par\normalpar}
or
\everypar{%
\begingroup
Aditya Mahajan wrote:
On Mon, 23 Apr 2007, Zhichu Chen wrote:
Hi, Aditya
I've made another definition, the output is OK, with some errors. Can you
tell me what's wrong?
Here is a more robust solution
\everypar{%
\let\normalpar\par%
\let\par\donothing%
\page[yes]%
Thanks Hans, your code is fine too.
On 4/20/07, Aditya Mahajan [EMAIL PROTECTED] wrote:
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
Aditya Mahajan 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
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
Hi everybody,
I want to insert some special thing between every paragraph, e.g., I'd like
to make each paragraph on seperated pages. Then I use:
=
\appendtoks\feedcurrentpage\to\everypar
\def\feedcurrentpage{\page[yes]}
=
and ConTeXt
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
Hi Aditya,
Thank you for pointing out my foolish mistake.
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