Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!csrd.uiuc.edu!s41.csrd.uiuc.edu!eijkhout From: eijkhout@s41.csrd.uiuc.edu (Victor Eijkhout) Newsgroups: comp.text.tex Subject: Re: ^^M delimited arguments in a macro? Message-ID: <1990Nov1.163550.27537@csrd.uiuc.edu> Date: 1 Nov 90 16:35:50 GMT References: <320@ariel.its.unimelb.edu.au> Sender: news@csrd.uiuc.edu (news) Organization: UIUC Center for Supercomputing Research and Development Lines: 22 duty@ariel.its.unimelb.edu.au (Duty Programmer) writes: >\def\test #1 #2 #3\par{blah #1 blah #2 blah #3} >\begingroup \obeylines >\test first second and then this is the third argument >As I understand it, \obeylines ``makes the ASCII into an >active character that uses the current meaning of \par, and plain TeX Right, but that doesn't mean that there is actually a \par at the end, there is still a , and if that would ever be investigated it would assume the meaning of \par, but not if it just glossed over by a macro scanning for arguments. \catcode`\^^M=12 \def\PickToEol{\begingroup\catcode`\^^M=12 \xPickToEol} \def\xPickToEol #1 #2 #3^^M{ blah blah blah \endgroup} \catcode`\^^M=5 Victor.