ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in the latest beta: \frac
@ 2015-03-28 19:29 Otared Kavian
  2015-03-30  9:59 ` Alan BRASLAU
  0 siblings, 1 reply; 2+ messages in thread
From: Otared Kavian @ 2015-03-28 19:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: Bug in the latest beta: \frac
  2015-03-28 19:29 Bug in the latest beta: \frac Otared Kavian
@ 2015-03-30  9:59 ` Alan BRASLAU
  0 siblings, 0 replies; 2+ messages in thread
From: Alan BRASLAU @ 2015-03-30  9:59 UTC (permalink / raw)
  To: Otared Kavian; +Cc: mailing list for ConTeXt users

On Sat, 28 Mar 2015 20:29:15 +0100
Otared Kavian <otared@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 error       > error 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.braslau@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
___________________________________________________________________________________

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

end of thread, other threads:[~2015-03-30  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-28 19:29 Bug in the latest beta: \frac Otared Kavian
2015-03-30  9:59 ` Alan BRASLAU

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