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 is been processing.
But the previous codes that you or Aditya gave me are OK with my complex document:
both
======================
\obeylines
\def\obeyedline{\page[yes]}
======================
and
======================
\catcode`\^^M=\active
\def^^M{\page[yes]}
======================
works well with my document (since they are the same).
I will try to redefine ^^M to meet my need. And until I make it, I'll try to write one paragraph on one line or put a comment symbol % at the end of a line to avoid unwanted things.
I'm sorry I can't upload my file because it's a Chinese module and you need to install the fonts, they are huge and messy. I think few of you are interested in it.
--
Best Regards
Chen
----------------------------------------------------------------
Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai |
P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
| www.sinap.ac.cn
----------------------------------------------------------------