* [NTG-context] Problem with \frac @ 2025-01-19 9:43 Bruce Horrocks 2025-01-19 9:47 ` [NTG-context] " Mikael Sundqvist 0 siblings, 1 reply; 3+ messages in thread From: Bruce Horrocks @ 2025-01-19 9:43 UTC (permalink / raw) To: ntg-context mailing list 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: Problem with \frac 2025-01-19 9:43 [NTG-context] Problem with \frac Bruce Horrocks @ 2025-01-19 9:47 ` Mikael Sundqvist 2025-01-19 10:05 ` Bruce Horrocks 0 siblings, 1 reply; 3+ messages in thread From: Mikael Sundqvist @ 2025-01-19 9:47 UTC (permalink / raw) To: mailing list for ConTeXt users [-- 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: Problem with \frac 2025-01-19 9:47 ` [NTG-context] " Mikael Sundqvist @ 2025-01-19 10:05 ` Bruce Horrocks 0 siblings, 0 replies; 3+ messages in thread From: Bruce Horrocks @ 2025-01-19 10:05 UTC (permalink / raw) To: ntg-context mailing list > On 19 Jan 2025, at 09:47, Mikael Sundqvist <mickep@gmail.com> wrote: > > Hi! > > You are not in math mode. Well, I tried \m{\frac{1}{2}} and got the same error. So to produce an MWE I cut the \m{} out. :-) But now I've exited and restarted TexShop it's working - so I assume it must have been TeXShop being a bit confused and not using the updated source. Sorry for the noise. — 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-19 10:06 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2025-01-19 9:43 [NTG-context] Problem with \frac Bruce Horrocks 2025-01-19 9:47 ` [NTG-context] " Mikael Sundqvist 2025-01-19 10:05 ` Bruce Horrocks
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).