ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug in mkii
@ 2009-04-23  8:32 Yue Wang
  2009-04-23 14:18 ` Aditya Mahajan
  0 siblings, 1 reply; 5+ messages in thread
From: Yue Wang @ 2009-04-23  8:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

hi, hans,

this bug was introduced this year (last year's beta compiles fine).
mkiv can produce the right result. mkii can't.

\definemathcommand[Prob][nolop]{\mfunction{Prob}}
\def\Pt{P_{\rm T}}
\def\Timp{\tau_{\rm imp}}
\def\Tp{\tau_{\rm p}}
\def\Wt{w_{\rm T}}
\def\Vp{V_{\rm p}^\prime}

\starttext
\placeformula
\startformula
\eqalign{
\Pt &= \Prob \left( {\Timp\over\Tp}>1 \right)\cr
&=\Prob \bigg({\Wt\over\Vp} > \Tp  \bigg)\cr}
\stopformula
\stoptext


Yue Wang
___________________________________________________________________________________
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] 5+ messages in thread

* Re: bug in mkii
  2009-04-23  8:32 bug in mkii Yue Wang
@ 2009-04-23 14:18 ` Aditya Mahajan
  2009-05-04  1:19   ` Yue Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Aditya Mahajan @ 2009-04-23 14:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 23 Apr 2009, Yue Wang wrote:

> hi, hans,
>
> this bug was introduced this year (last year's beta compiles fine).
> mkiv can produce the right result. mkii can't.
>
> \definemathcommand[Prob][nolop]{\mfunction{Prob}}
> \def\Pt{P_{\rm T}}
> \def\Timp{\tau_{\rm imp}}
> \def\Tp{\tau_{\rm p}}
> \def\Wt{w_{\rm T}}
> \def\Vp{V_{\rm p}^\prime}
>
> \starttext
> \placeformula
> \startformula
> \eqalign{
> \Pt &= \Prob \left( {\Timp\over\Tp}>1 \right)\cr
> &=\Prob \bigg({\Wt\over\Vp} > \Tp  \bigg)\cr}
> \stopformula
> \stoptext

Minimal example: In MkII 2009.04.17

\starttext
$\bigg($
\stoptext

gives

! Missing number, treated as zero.
<to be read again>
                    $
\@@dobig ...o #1\bodyfontsize {}\right .\n@space $
                                                   }}
l.2 $\bigg(
            $


Aditya
___________________________________________________________________________________
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] 5+ messages in thread

* Re: bug in mkii
  2009-04-23 14:18 ` Aditya Mahajan
@ 2009-05-04  1:19   ` Yue Wang
  2009-05-04  2:23     ` Aditya Mahajan
  0 siblings, 1 reply; 5+ messages in thread
From: Yue Wang @ 2009-05-04  1:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi, Hans,

The problem still remains in the latest beta's MKII.

Yue Wang

On Thu, Apr 23, 2009 at 10:18 PM, Aditya Mahajan <adityam@umich.edu> wrote:
> On Thu, 23 Apr 2009, Yue Wang wrote:
>
>> hi, hans,
>>
>> this bug was introduced this year (last year's beta compiles fine).
>> mkiv can produce the right result. mkii can't.
>>
>> \definemathcommand[Prob][nolop]{\mfunction{Prob}}
>> \def\Pt{P_{\rm T}}
>> \def\Timp{\tau_{\rm imp}}
>> \def\Tp{\tau_{\rm p}}
>> \def\Wt{w_{\rm T}}
>> \def\Vp{V_{\rm p}^\prime}
>>
>> \starttext
>> \placeformula
>> \startformula
>> \eqalign{
>> \Pt &= \Prob \left( {\Timp\over\Tp}>1 \right)\cr
>> &=\Prob \bigg({\Wt\over\Vp} > \Tp  \bigg)\cr}
>> \stopformula
>> \stoptext
>
> Minimal example: In MkII 2009.04.17
>
> \starttext
> $\bigg($
> \stoptext
>
> gives
>
> ! Missing number, treated as zero.
> <to be read again>
>                   $
> \@@dobig ...o #1\bodyfontsize {}\right .\n@space $
>                                                  }}
> l.2 $\bigg(
>           $
>
>
> Aditya
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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] 5+ messages in thread

* Re: bug in mkii
  2009-05-04  1:19   ` Yue Wang
@ 2009-05-04  2:23     ` Aditya Mahajan
  2009-05-04  2:48       ` Yue Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Aditya Mahajan @ 2009-05-04  2:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 4 May 2009, Yue Wang wrote:

> Hi, Hans,
>
> The problem still remains in the latest beta's MKII.

Does the following fix work for you?

\unprotect
\def\n@space
   {\nulldelimiterspace\zeropoint\relax \mathsurround\zeropoint}
\protect


Aditya
___________________________________________________________________________________
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] 5+ messages in thread

* Re: bug in mkii
  2009-05-04  2:23     ` Aditya Mahajan
@ 2009-05-04  2:48       ` Yue Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Yue Wang @ 2009-05-04  2:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi, Aditya:

Yes, now my documents compile smoothly. Thanks a lot.

Yue Wang

On Mon, May 4, 2009 at 10:23 AM, Aditya Mahajan <adityam@umich.edu> wrote:
> On Mon, 4 May 2009, Yue Wang wrote:
>
>> Hi, Hans,
>>
>> The problem still remains in the latest beta's MKII.
>
> Does the following fix work for you?
>
> \unprotect
> \def\n@space
>  {\nulldelimiterspace\zeropoint\relax \mathsurround\zeropoint}
> \protect
>
>
> Aditya
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2009-05-04  2:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-23  8:32 bug in mkii Yue Wang
2009-04-23 14:18 ` Aditya Mahajan
2009-05-04  1:19   ` Yue Wang
2009-05-04  2:23     ` Aditya Mahajan
2009-05-04  2:48       ` Yue Wang

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).