ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: Otared Kavian <otared@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bug in the latest beta: \frac
Date: Mon, 30 Mar 2015 11:59:58 +0200	[thread overview]
Message-ID: <20150330115958.2e85ed92@iram-ha-003587.extra.cea.fr> (raw)
In-Reply-To: <4ED99032-D333-4FD0-A383-CFD194B192E3@gmail.com>

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
___________________________________________________________________________________

      reply	other threads:[~2015-03-30  9:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-28 19:29 Otared Kavian
2015-03-30  9:59 ` Alan BRASLAU [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150330115958.2e85ed92@iram-ha-003587.extra.cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=ntg-context@ntg.nl \
    --cc=otared@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).