7 Dec
2002
7 Dec
'02
6:24 p.m.
Hello, while trying to build an AMS emulation layer on top of ConTeXt math macros, I defined (among the other) the following macros: \def\startalign{% \startformula \let\\\cr \grabuntil{stopalign}\doeqalign } \def\doeqalign#1{\eqalign{#1\cr}\stopformula} \let\stopalign\relax These allow me to write: \startalign a & = b = \\ & = c \stopalign and everything is fine. Yet I cannot do \placeformula[hook] \startalign a & = b = \\ & = c \stopalign because of expansion problems. Why? How can I define the stuff? -- Giuseppe "Oblomov" Bilotta