[NTG-context] ' undefined inside \startformula .. \stopformula

Aditya Mahajan adityam at umich.edu
Wed Dec 27 01:33:40 CET 2006


On Tue, 26 Dec 2006, Sanjoy Mahajan wrote:

> I just noticed this test file failing:
> 
> \starttext
> $f'(x)$
> \startformula
> f^\prime(x)\quad f'(x)
> \stopformula
> \stoptext
> 
> It gives:
> 
> ! Undefined control sequence.
> l.4 f^\prime(x)\quad f'
>                        (x)
>

This is a typo in math-pln.tex. The end of the file should be

\bgroup
     \catcode`\_ = 13
     \catcode`\' = 13
     \doglobal\appendtoks
         \let_\activemathunderscore
         \let'\activemathquote
     \to \everymathematics %<--- was \everymath
\egroup

Aditya


More information about the ntg-context mailing list