ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mikael Sundqvist <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Problem with \frac
Date: Sun, 19 Jan 2025 10:47:48 +0100	[thread overview]
Message-ID: <CAHy-LL8K8BjaecV7aEVwujKFm3qzMrEfRGE5+Ds+XKH+e1kH=Q@mail.gmail.com> (raw)
In-Reply-To: <2258F9BD-3705-446C-B2E6-73690CD59A16@scorecrow.com>


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

Hi!

You are not in math mode.

/Mikael

Den sön 19 jan. 2025 10:45Bruce Horrocks <ntg@scorecrow.com> skrev:

> What am I doing wrong here, please?
>
> \starttext
> \frac{1}{2}
> \stoptext
>
> gives
>
> tex error       > tex error on line 2 in file ./tt.tex: Missing $ inserted
>
> <inserted text>
>
>     $\mathatom
> <macro> \math_atom_by_parameter_indeed
>     #1->\mathatom
>     \s!class \mathcodechecked {#1}
> <macro> \math_frac
>     ...meter #2\or \setupcurrentmathfraction [#2]\fi \edef
> \p_math_fraction_fences {\mathfractionparameter \c!fences }\dostarttagged
> \t!mfractionstack {\mathfractionparameter \c!mathmeaning
> }\math_atom_by_parameter \mathfractionparameter
>     \bgroup \ifem ...
> <to be read again>
>
>     {
> <line 3.2>
>     \frac{
>     1}{2}
>
> 1     \starttext
> 2 >>  \frac{1}{2}
> 3     \stoptext
> I've inserted a begin-math/end-math symbol since I think you left one out.
> Proceed, with fingers crossed.
> mtx-context     | fatal error: return code: 1
>
> —
> Bruce Horrocks
> Hampshire, UK
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
>
> ___________________________________________________________________________________
>

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

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

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2025-01-19  9:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-19  9:43 [NTG-context] " Bruce Horrocks
2025-01-19  9:47 ` Mikael Sundqvist [this message]
2025-01-19 10:05   ` [NTG-context] " Bruce Horrocks

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='CAHy-LL8K8BjaecV7aEVwujKFm3qzMrEfRGE5+Ds+XKH+e1kH=Q@mail.gmail.com' \
    --to=mickep@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).