Re: [NTG-context] Bug in the latest beta: \frac

2015-03-30 Thread Alan BRASLAU
On Sat, 28 Mar 2015 20:29:15 +0100
Otared Kavian ota...@gmail.com wrote:

 Hi Hans,
 
 I just tried the new beta (ConTeXt  ver: 2015.03.28 16:30 MKIV beta
 fmt: 2015.3.28  int: english/english) It gives an error with the
 following minimal example:
 
 \starttext
 \startformula
 \frac{2}{4}
 \stopformula
 \stoptext
 
 The error message is:
 \math_frac_command -\cclf_mathfraction 
 {\mathfractionparameter
 \c!rule }\nu... \math_fraction_inner_normal ...\math_frac_command 
   {\usemathstyleparameter
 \m... l.3 \frac{2}{4}
 
 
 However using \over works fine, as in the following example:
 
 \starttext
 \startformula
 {1 \over 2}
 \stopformula
 \stoptext

I confirm that $\frac12$ yields an error:


tex errorerror on line 2 in file frac.tex: ! Missing number, treated 
as zero

to be read again 
x
\506:left -0x
   2E
\math_frac_command ...thfractionparameter \c!left 
  \relax \numexpr
\mathfract... \math_fraction_inner_normal ...\math_frac_command 
  {\usemathstyleparameter
\m... l.2 $\frac12
  $

1 \starttext
2   $\frac12$
3 \stoptext
-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS URA 2464
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.bras...@cea.fr
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Bug in the latest beta: \frac

2015-03-28 Thread Otared Kavian
Hi Hans,

I just tried the new beta (ConTeXt  ver: 2015.03.28 16:30 MKIV beta  fmt: 
2015.3.28  int: english/english)
It gives an error with the following minimal example:

\starttext
\startformula
\frac{2}{4}
\stopformula
\stoptext

The error message is:
\math_frac_command -\cclf_mathfraction 
{\mathfractionparameter \c!rule }\nu...
\math_fraction_inner_normal ...\math_frac_command 
  {\usemathstyleparameter \m...
l.3 \frac{2}{4}


However using \over works fine, as in the following example:

\starttext
\startformula
{1 \over 2}
\stopformula
\stoptext

Best regards: OK

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___