On Fri, 29 Sep 2006, Hans Hagen wrote:
> environments are saved in macros, therefore you end up in an argument
> mess
>
>
>
> \starttext
>
> \startbuffer[mp]
> \def\2#1#2{\vbox{\halign{\hfil##\hfil\cr #1\cr #2\cr}}}
> \stopbuffer
>
> \def\useMPenvironmentbuffer[#1]%
>
> {\expanded{\startMPenvi
> works ok ; maybe i should add that command to the core but anyhow
> you can wikify it
Using btex..etex is becoming complex with all the interactions, so
instead I wikified an example of converting from btex..etex to
\sometxt -- preaching what I am trying to practice.
Instead I'll use the MPenvi
> never try to do tricky stuff like definitions inside MPenvironement,
> because it is parsed and changed slightly.
I'm learning that lesson too. Another one: "don't use btex..etex
instead use \sometxt". So I now try to use the MPenvironment only for
font and size switching (e.g. if I want the f
On 9/29/06, Sanjoy Mahajan wrote:
> This test file (beta 2006.09.28):
>
> 1.tex
> \starttext
> \startMPenvironment
> \def\2#1#2{\vbox{\halign{\hfil##\hfil\cr #1\cr #2\cr}}}
> \stopMPenvironment
A lesson that I learned while trying to implement a few functi
Sanjoy Mahajan wrote:
> This test file (beta 2006.09.28):
>
> 1.tex
> \starttext
> \startMPenvironment
> \def\2#1#2{\vbox{\halign{\hfil##\hfil\cr #1\cr #2\cr}}}
> \stopMPenvironment
>
> \startreusableMPgraphic{fig}
> label(btex sun etex, origin);
> \stopreu
This test file (beta 2006.09.28):
1.tex
\starttext
\startMPenvironment
\def\2#1#2{\vbox{\halign{\hfil##\hfil\cr #1\cr #2\cr}}}
\stopMPenvironment
\startreusableMPgraphic{fig}
label(btex sun etex, origin);
\stopreusableMPgraphic
\reuseMPgraphic{fig}
\sto