From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32296 Path: news.gmane.org!not-for-mail From: "Zhichu Chen" Newsgroups: gmane.comp.tex.context Subject: Re: ' undefined inside \startformula .. \stopformula Date: Wed, 27 Dec 2006 10:53:25 +0800 Message-ID: <769ba7780612261853i4d1297c5v9b57b8d24c4ab618@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1722168459==" X-Trace: sea.gmane.org 1167188034 29874 80.91.229.10 (27 Dec 2006 02:53:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Dec 2006 02:53:54 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 27 03:53:50 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by dough.gmane.org with esmtp (Exim 4.50) id 1GzOvO-0003T2-AK for gctc-ntg-context-518@m.gmane.org; Wed, 27 Dec 2006 03:53:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9B70C2005C; Wed, 27 Dec 2006 03:52:01 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01483-07-3; Wed, 27 Dec 2006 03:51:51 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4F79F1FFE2; Wed, 27 Dec 2006 03:51:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 389C91FFFE for ; Wed, 27 Dec 2006 03:51:47 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01483-07-2 for ; Wed, 27 Dec 2006 03:51:38 +0100 (CET) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by ronja.ntg.nl (Postfix) with SMTP id 056E21FFC6 for ; Wed, 27 Dec 2006 03:51:37 +0100 (CET) Original-Received: by nf-out-0910.google.com with SMTP id l37so4368178nfc for ; Tue, 26 Dec 2006 18:53:25 -0800 (PST) Original-Received: by 10.78.57.11 with SMTP id f11mr2408150hua.1167188005223; Tue, 26 Dec 2006 18:53:25 -0800 (PST) Original-Received: by 10.78.198.5 with HTTP; Tue, 26 Dec 2006 18:53:25 -0800 (PST) Original-To: "mailing list for ConTeXt users" In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:32296 Archived-At: --===============1722168459== Content-Type: multipart/alternative; boundary="----=_Part_109078_14924850.1167188005120" ------=_Part_109078_14924850.1167188005120 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. \@@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} ...enumber {\pageprefixes \pagenumber } \@@nmright ... l.38 \protect \errorstopmode \dump \endinput ? q OK, entering \batchmodeTeXExec | generating tex format mptopdf ---------------------------------------------------------- On 12/27/06, Aditya Mahajan 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@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 ---------------------------------------------------------------- ------=_Part_109078_14924850.1167188005120 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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@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@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
---------------------------------------------------------------- ------=_Part_109078_14924850.1167188005120-- --===============1722168459== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============1722168459==--