From: Wybo Dekker <wybo@servalys.nl>
Subject: Re: \par in command argument
Date: Wed, 4 Sep 2002 16:53:49 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.42.0209041647360.2998-100000@servalys.nl> (raw)
In-Reply-To: <Pine.LNX.4.42.0209041155330.1560-100000@servalys.nl>
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
next prev parent reply other threads:[~2002-09-04 14:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-04 10:01 Wybo Dekker
2002-09-04 14:40 ` Andres Loeh
2002-09-04 22:04 ` Wybo Dekker
2002-09-04 14:53 ` Wybo Dekker [this message]
2002-09-05 3:42 ` John Culleton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.42.0209041647360.2998-100000@servalys.nl \
--to=wybo@servalys.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).