From: "Patrick Gundlach" <patrick@gundla.ch>
Subject: Re: Collecting command arguments in a startstop environment
Date: 2 Aug 2004 10:37:08 +0200 [thread overview]
Message-ID: <m2hdrm3phn.fsf@levana.de> (raw)
In-Reply-To: <4.3.1.2.20040801223158.00b48988@cits1.stanford.edu> (Brooks Moses's message of "Sun, 01 Aug 2004 22:39:22 -0700")
[...]
> Anyhow, I'm finding myself wanting to do this in ConTeXt, with of
> course replacing \newenvironment with \definestartstop.
I didn't want to fiddle with \definestartstop, but here is a quick
hack:
--------------------------------------------------
\long\def\foo#1{ Hello #1!}
\long\def\startfoo #1 \stopfoo{\unskip \foo{#1}}
\starttext
\startfoo
World
\stopfoo
\startfoo
Brooks
\stopfoo
\startfoo
some
lines
\stopfoo
\stoptext
--------------------------------------------------
Patrick
--
ConTeXt wiki: http://contextgarden.net
texshow-web: http://texshow.contextgarden.net
List archive: http://archive.contextgarden.net
next prev parent reply other threads:[~2004-08-02 8:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-02 5:39 Brooks Moses
2004-08-02 8:37 ` Patrick Gundlach [this message]
2004-08-02 8:46 ` Brooks Moses
2004-08-02 17:43 ` Brooks Moses
2004-08-02 20:14 ` Hans Hagen Outside
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=m2hdrm3phn.fsf@levana.de \
--to=patrick@gundla.ch \
--cc=ntg-context@ntg.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).