ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Culleton <john@wexfordpress.com>
Subject: Re: \par in command argument
Date: Wed, 4 Sep 2002 23:42:18 -0400	[thread overview]
Message-ID: <200209042342.18903.john@wexfordpress.com> (raw)
In-Reply-To: <Pine.LNX.4.42.0209041155330.1560-100000@servalys.nl>

On Wednesday 04 September 2002 06:01 am, 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:
>
> This is TeX, Version 3.14159 (Web2C 7.3.7x)
> (./t.tex
> Runaway argument?
> { ....
> ! Paragraph ended before \Letter was complete.
>
> Is there a solution to this?

I used the textmerg macro pretty much as is and had success with 
creating form letters. See my earlier correspondence under the title
"Textmerg and Context."

Hans Hagen offered workarounds for the few small problems I 
encountered.

It isn't necessary to reinvent the wheel in this case.  Textmerg.tex 
works and I suspect the ancient letterformat.tex could be made to 
work. The secret is several related macros and not one 
all-encompassing macro call. 

HTH

John Culleton


      parent reply	other threads:[~2002-09-05  3:42 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
2002-09-05  3:42 ` John Culleton [this message]

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=200209042342.18903.john@wexfordpress.com \
    --to=john@wexfordpress.com \
    /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).