Re: [NTG-context] Collecting command arguments in a startstop environment

2004-08-02 Thread Hans Hagen Outside
Brooks Moses wrote: To answer my own question: At 10:39 PM 8/1/2004, I wrote: There's a nice little problem that arises in LaTeX, of wanting to write a bit of code like the following, to define an environment that passes the contents of the environment to a command as an argument: \newcommand{

Re: [NTG-context] Collecting command arguments in a startstop environment

2004-08-02 Thread Brooks Moses
To answer my own question: At 10:39 PM 8/1/2004, I wrote: There's a nice little problem that arises in LaTeX, of wanting to write a bit of code like the following, to define an environment that passes the contents of the environment to a command as an argument: \newcommand{\foo}[1]{...} \new

[NTG-context] Collecting command arguments in a startstop environment

2004-08-01 Thread Brooks Moses
There's a nice little problem that arises in LaTeX, of wanting to write a bit of code like the following, to define an environment that passes the contents of the environment to a command as an argument: \newcommand{\foo}[1]{...} \newenvironment{fooenv}{% \foo\bgroup }{% \egroup