ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* math symbol \doteq cause error in mk||
@ 2009-04-21 13:35 Andy Wong
  2009-04-21 13:40 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Wong @ 2009-04-21 13:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 722 bytes --]

Hello,
I use the context minimal with updating to lastest beta. when using $\doteq$
in my equation, texexec catch an error:

! Illegal unit of measure (pt inserted).
<to be read again>
                   =
\buildrel ...mathrel {\mathop {\kern \zerocount #2
                                                  }\limits ^{#1}}
l.3 Test $\doteq
                $
?

I check the definition in math-pln.mkii, the \doteq is defined as:

\def\buildrel#1\over#2%
     {\mathrel{\mathop{\kern\zerocount#2}\limits^{#1}}}
\def\doteq
     {\buildrel\textstyle.\over=}

The problem seems caused by \zerocount. After comparing with the definition
in math-pln.mkiv, I changed it to \zeropoint and texexec run successfully.


Regards,
Andy

[-- Attachment #1.2: Type: text/html, Size: 944 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: math symbol \doteq cause error in mk||
  2009-04-21 13:35 math symbol \doteq cause error in mk|| Andy Wong
@ 2009-04-21 13:40 ` Wolfgang Schuster
  2009-04-21 14:03   ` Andy Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2009-04-21 13:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 21.04.2009 um 15:35 schrieb Andy Wong:

> Hello,
> I use the context minimal with updating to lastest beta. when using $ 
> \doteq$ in my equation, texexec catch an error:
>
> ! Illegal unit of measure (pt inserted).
> <to be read again>
>                    =
> \buildrel ...mathrel {\mathop {\kern \zerocount #2
>                                                   }\limits ^{#1}}
> l.3 Test $\doteq
>                 $
> ?
>
> I check the definition in math-pln.mkii, the \doteq is defined as:
>
> \def\buildrel#1\over#2%
>      {\mathrel{\mathop{\kern\zerocount#2}\limits^{#1}}}

        {\mathrel{\mathop{\kern\zerocount\relax#2}\limits^{#1}}}

Did a \relax help?

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: math symbol \doteq cause error in mk||
  2009-04-21 13:40 ` Wolfgang Schuster
@ 2009-04-21 14:03   ` Andy Wong
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Wong @ 2009-04-21 14:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1380 bytes --]

No, after adding the \relax, same problem here.

Regards,

Andy

On Tue, Apr 21, 2009 at 8:40 AM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:

>
> Am 21.04.2009 um 15:35 schrieb Andy Wong:
>
> Hello,
>> I use the context minimal with updating to lastest beta. when using
>> $\doteq$ in my equation, texexec catch an error:
>>
>> ! Illegal unit of measure (pt inserted).
>> <to be read again>
>>                   =
>> \buildrel ...mathrel {\mathop {\kern \zerocount #2
>>                                                  }\limits ^{#1}}
>> l.3 Test $\doteq
>>                $
>> ?
>>
>> I check the definition in math-pln.mkii, the \doteq is defined as:
>>
>> \def\buildrel#1\over#2%
>>     {\mathrel{\mathop{\kern\zerocount#2}\limits^{#1}}}
>>
>
>       {\mathrel{\mathop{\kern\zerocount\relax#2}\limits^{#1}}}
>
> Did a \relax help?
>
> Wolfgang
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2270 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-21 14:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-21 13:35 math symbol \doteq cause error in mk|| Andy Wong
2009-04-21 13:40 ` Wolfgang Schuster
2009-04-21 14:03   ` Andy Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).