![](https://secure.gravatar.com/avatar/331902f4bde5e73f4eeac8719040822f.jpg?s=120&d=mm&r=g)
7 Dec
2002
7 Dec
'02
11:24 a.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