Path: utzoo!utgpu!watserv1!watmath!att!att!bu.edu!rpi!batcomputer!munnari.oz.au!murdu!ariel!ariel.its.unimelb.edu.au From: duty@ariel.its.unimelb.edu.au (Duty Programmer) Newsgroups: comp.text.tex Subject: ^^M delimited arguments in a macro? Message-ID: <320@ariel.its.unimelb.edu.au> Date: 31 Oct 90 06:21:47 GMT Sender: duty@ariel.its.unimelb.edu.au Organization: Computing Services, Melb. Uni. Lines: 29 I have the following construction in my file: \def\test #1 #2 #3\par{blah #1 blah #2 blah #3} \begingroup \obeylines \test first second and then this is the third argument \test first second and then this is the third argument \test first second and then this is the third argument \test first second and then this is the third argument \endgroup \bye As I understand it, \obeylines ``makes the ASCII into an active character that uses the current meaning of \par, and plain TeX puts at the end of an input line.'' (TeXbook, p.249) But TeX does not seem to be doing this; I get 'runaway argument' errors when I process the file. If I put `\par' at the end of each line, it works fine! Help! rab --- Richard Brown | E-mail: rab@ariel.its.unimelb.EDU.AU School of Physics | Phone : +61 3 344 5081 University of Melbourne | Fax : +61 3 347 4783 Parkville Victoria AUSTRALIA 3052 | Telex : AA35185