From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9141 Path: main.gmane.org!not-for-mail From: Wybo Dekker Newsgroups: gmane.comp.tex.context Subject: Re: \par in command argument Date: Wed, 4 Sep 2002 16:53:49 +0200 (CEST) Sender: owner-ntg-context@let.uu.nl Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1035399492 961 80.91.224.250 (23 Oct 2002 18:58:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:58:12 +0000 (UTC) Original-To: ntg-context In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:9141 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9141 On Wed, 4 Sep 2002, Wybo Dekker wrote: > I'm trying to write a letter style so that I can say: > > \input letter.sty > \Address{name\\street\\city} > % ... define several other things... > \Letter{ > Dear John, > > .... > > Love, Mary > } > > But the paragraphs in \Letter's argument cause trouble: I found the solution already: I had to use \long\def instead of \def. But that introduced another problem: \startlines...\stoplines doesn't work anymore, for example: \def\Letter#1{#1} \starttext \Letter{ \startlines abc % these appear def % on a ghi % single line \stoplines } \stoptext -- Wybo