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

Zhichu Chen zhichu.chen at gmail.com
Wed Dec 27 03:53:25 CET 2006


Hi Aditya,

I've copied your codes and replaced the original ones with them, but I
failed when I make the formats:
texexec --make --all

It gives me the following message:
---------------------------------------------------

(d:\ConTeXt\usr\local\context\tex\texmf-local/tex/context/base/math-pln.tex
! Undefined control sequence.
\@@toks ->\everymathematics

\dodoappendtoks ->\dodoglobal \@@toks
                                      \@EAEAEA {\@EA \the \@EA \@@toks \the
...
l.382     \to \everymathematics

? q
OK, entering \batchmode

ConTeXt  ver: 2006.12.20 23:52 MK II  fmt: 2006.12.27  int: dutch/dutch

fonts           : needs map file: texnansi-public-lm
fonts           : needs map file: original-base
fonts           : needs map file: ec-public-lm
fonts           : needs map file: ec-base
fonts           : needs map file: lm-ec
! Missing \endcsname inserted.
<to be read again>
                   \@@ladefault
\defaultlanguage #1->\@EA \ifx \csname \??la #1
                                               \c!default \endcsname \empty
...

\defaultlanguage ...\??la #1\c!default \endcsname
                                                  \fi
\dogetupsometextprefix #1#2#3->\ifcsname #2#1
                                             #3\endcsname \csname
#2#1#3\end...

\labeltexts #1#2->\leftlabeltext {#1}
                                     #2\rightlabeltext {#1}
<argument> ...enumber {\pageprefixes \pagenumber }
                                                  \@@nmright
...
l.38 \protect \errorstopmode \dump
                                   \endinput
? q
OK, entering \batchmodeTeXExec | generating tex format mptopdf

----------------------------------------------------------

On 12/27/06, Aditya Mahajan <adityam at umich.edu> wrote:
>
> 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
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>



-- 
Sincerely yours,
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20061227/9b10403e/attachment-0001.html 


More information about the ntg-context mailing list