[NTG-context] Re: [ page setup ]
On 19/01/2025 20:38, Henning Hraban Ramm wrote: \definelayout[one][width=118mm] \definelayout[two][width=178mm] and then activate them for pages like \definelayout[1,2,5,6][one] \definelayout[4,5,7,8][two] my current lmtx seems to ignore the \definelayout what am i missing? 8<--- \setuppapersize [A4] \setupheader [state=empty, no] \usetypescript[ibmplex] \setupbodyfont[ibmplex, serif, 11pt] \setupinterlinespace[14pt] \setuplayout[% backspace=10mm, topspace=20mm, header=0mm, footer=0mm, height=180mm, ] \definelayout[one][width=98.8mm] \definelayout[two][width=158.2mm] \definelayout[1,2,5,6][one] \definelayout[3,4,7,8][two] \starttext \showframe \dorecurse{30}{\input knuth} \stoptext --->8 ___ 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 ___
[NTG-context] Re: [ page setup ]
If you are in the middle of a paragraph at the page break where the width changes, it will not work. Den sön 19 jan. 2025 21:40vm via ntg-context skrev: > > > On 19/01/2025 20:38, Henning Hraban Ramm wrote: > > \definelayout[one][width=118mm] > > \definelayout[two][width=178mm] > > > > and then activate them for pages like > > > > \definelayout[1,2,5,6][one] > > \definelayout[4,5,7,8][two] > > > > my current lmtx seems to ignore the \definelayout > what am i missing? > > > 8<--- > > \setuppapersize [A4] > \setupheader [state=empty, no] > \usetypescript[ibmplex] > \setupbodyfont[ibmplex, serif, 11pt] > \setupinterlinespace[14pt] > > \setuplayout[% > backspace=10mm, > topspace=20mm, > header=0mm, > footer=0mm, > height=180mm, > ] > > \definelayout[one][width=98.8mm] > \definelayout[two][width=158.2mm] > \definelayout[1,2,5,6][one] > \definelayout[3,4,7,8][two] > > > \starttext > \showframe > \dorecurse{30}{\input knuth} > \stoptext > > --->8 > > ___ > 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 > > ___ > ___ 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 ___
[NTG-context] Re: Problem using Neo Euler in slides
Hi, I tested with the latest ConTeXt and it works fine. On Sun, Jan 19, 2025 at 10:33 PM wrote: > > Dear List, > > I am using the Debian ConTeXt with the following version: > context 2024.04.01.20240428+dfsg-2 > > I am having some issues, particularly with the \sqrt symbol when using > a presentation mode in ConTeXt. The following gist has the files in > question: > > https://gist.github.com/kumanna/eb81deae66e34809b9074be1f3f6e9d0 > > I have the Fontin, Neo Euler and Delicious OTFs loaded properly with mtxrun. > In my > slide, if the \sqrt is present, I get the following error: > > lua error: > > registered function call [254]: > /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:1681: attempt to perform > bitwise operation on a nil value (local 'options') > stack traceback: > /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:1681: in upvalue > 'flushrule' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1659: in upvalue > 'vlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue > 'hlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue > 'hlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue > 'vlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue > 'hlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue > 'vlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue > 'hlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue > 'hlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue > 'hlist_out' > ... (skipping 6 levels) > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue > 'hlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue > 'hlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue > 'vlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1623: in upvalue > 'vlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue > 'hlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue > 'hlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue > 'hlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue > 'vlist_out' > /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1799: in upvalue > 'converter' > /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:3719: in upvalue > 'convert' > /usr/share/texmf/tex/context/base/mkxl/driv-ini.lmt:211: in function > > (...tail calls...) > > > mtx-context | fatal error: return code: 1 > > Please let me know if there is something I need to fix. > > Thanks. > > Kumar > ___ > 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 > ___ -- Respect, Shiv Shankar Dayal ___ 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 ___
[NTG-context] Re: Problem using Neo Euler in slides
Am 19.01.2025 um 18:00 schrieb a.ku...@alumni.iitm.ac.in: Dear List, I am using the Debian ConTeXt with the following version: context 2024.04.01.20240428+dfsg-2 I am having some issues, particularly with the \sqrt symbol when using a presentation mode in ConTeXt. The following gist has the files in question: https://gist.github.com/kumanna/eb81deae66e34809b9074be1f3f6e9d0 I have the Fontin, Neo Euler and Delicious OTFs loaded properly with mtxrun. In my slide, if the \sqrt is present, I get the following error: 1. Add \starttext and \stoptext to your document. 2. Use \setupalign[nothyphenated] to prohibit hyphenation. 3. Load the euler typescript for the math font. \definefontfamily [myfamily] [serif] [Fontin] [rscale=1.66] \definefontfamily [myfamily] [sans] [Delicious] [rscale=1.66] \definefontfamily [myfamily] [mono] [DejaVu Sans Mono] [rscale=1] \definetypeface [myfamily] [mm] [math] [eulernova][default] [rscale=1.66] \setupbodyfont[myfamily] \starttext \dm{\sqrt{x + y}} \stoptext Wolfgang ___ 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 ___
[NTG-context] Re: Problem using Neo Euler in slides
Thank you for this. Sadly, I still get this: resolvers | formats | executing runner 'run luametatex format': /usr/bin/luametatex --jobname="./slide.tex" --socket --shell-escape --fmt=/home/kumar/.texlive2024/texmf-var/luametatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/luametatex/cont-en.fmt --lua=/home/kumar/.texlive2024/texmf-var/luametatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./slide.tex" --c:input="./slide.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/usr/bin" system > system > ConTeXt ver: 2024.02.27 09:18 LMTX fmt: 2025.1.15 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/usr/share/texmf/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source> level 1, order 1, name '/usr/share/texmf/tex/context/base/mkxl/cont-new.mkxl' system > 'cont-sys.mkxl' loaded open source > level 1, order 2, name '/usr/share/texlive/texmf-dist/tex/context/texlive/cont-sys.mkxl' close source> level 1, order 2, name '/usr/share/texlive/texmf-dist/tex/context/texlive/cont-sys.mkxl' system > files > jobname './slide', input './slide.tex', result './slide' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 3, name './slide.tex' open source > level 2, order 4, name 'env-slides.tex' open source > level 3, order 5, name '/usr/share/texmf/tex/context/fonts/mkxl/type-imp-euler.mkxl' open source > level 4, order 6, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-texgyre.mkiv' close source> level 4, order 6, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-texgyre.mkiv' open source > level 4, order 7, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-dejavu.mkiv' close source> level 4, order 7, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-dejavu.mkiv' close source> level 3, order 7, name '/usr/share/texmf/tex/context/fonts/mkxl/type-imp-euler.mkxl' mathematics > tweak > 'Euler-Math', size 11.62003, math size 3, version 'Version 0.61' found, version 'Version 000.002 ' expected colors > 'rgb' color space is supported colors > 'cmyk' color space is supported modules > 'units' is loaded open source > level 3, order 8, name '/usr/share/texmf/tex/context/modules/mkiv/m-units.mkiv' close source> level 3, order 8, name '/usr/share/texmf/tex/context/modules/mkiv/m-units.mkiv' close source> level 2, order 8, name 'env-slides.tex' structures > bookmark: Hi structure > sectioning > title @ level 2 : 0.0 -> Hi metapost> initializing instance 'metafun:1' using format 'metafun' and method 'double' metapost> loading 'metafun' as '/usr/share/texmf/metapost/context/base/mpxl/metafun.mpxl' using method 'double' metapost> initializing number mode 'double' metapost> trace > This is MPLIB for LuaMetaTeX, version 3.14, running in double mode. metapost> trace > metapost> trace > loading metafun for lmtx, including the plain 1.004 base definitions metapost> trace > tex error > tex error on line 1 in file ./slide.tex: lua error: registered function call [254]: /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:1681: attempt to perform bitwise operation on a nil value (local 'options') stack traceback: /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:1681: in upvalue 'flushrule' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1659: in upvalue 'vlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out' ... (skipping 6 levels) /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1623: in upvalue 'vlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out' /usr/share/texmf/tex
[NTG-context] Re: Problem using Neo Euler in slides
Am 19.01.2025 um 18:45 schrieb a.ku...@alumni.iitm.ac.in: Thank you for this. Sadly, I still get this: [...] system > ConTeXt ver: 2024.02.27 09:18 LMTX fmt: 2025.1.15 int: english/english [...] Please let me know if I am making other mistakes. I suggest to update your context installation to use the newest version. PS: The units module is obsolete and context provides support for units out of the box with the \unit command. Wolfgang ___ 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 ___
[NTG-context] [ page setup ]
What would be the simple preferred way to define a document having not just odd and even pages but also alternating width is sets of two. e.g. two pages with width 118 mm followed by two pages of 178 mm followed by two pages with width 118 mm, ... all hints appreciated .Floris ___ 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 ___
[NTG-context] Re: wiki update
Am 18.01.25 um 15:35 schrieb garu...@azules.eu: Hi all, for your information, many significant changes have been done on the wiki pages and their structure. Many pages are now nested by theme to make it easier for new ConTeXt users to navigate (by giving them a better overview of the material available on a given subject) and for wiki users to identify duplicates and old content. Of course, there are still “duplicates”, “aging content” and “unclear tutorials”, but the changes are significant and should be noted here. - Summary of changes - https://wiki.contextgarden.net/Talk:Main_Page#January_2025.2C_improving_wiki_structure_.2B_wiki_rendering - Before / After illustrations - https://wiki.contextgarden.net/User:Garulfoo#January_2025_Wiki_before_.2F_after Hoping that these improvements will compensate for the disruption to your habits and the inconveniences of recent weeks. Hi Garulfo, also big thanks from me, especially for the enhanced preview images and the side-by-side layout option! (Also thanks for Taco for their participation and continuous admin work!) For me as someone who works with the wiki a lot, the restructuring needs adjustment – I knew to key in most pages that I need, now I must search, and the links (that I often share) got much longer. I’m also not convinced that one hierarchical structure makes sense for a wiki – generally and especially for a complex system like ConTeXt (there are just too many subjects that fit in several places or nowhere) – while overview pages and interlinking are essential. But you did the work, and I’ll get used to it. If it helps eliminating duplicates and outdated stuff, even better. Hraban ___ 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 ___
[NTG-context] Re: [ page setup ]
Am 19.01.25 um 19:07 schrieb vm via ntg-context: What would be the simple preferred way to define a document having not just odd and even pages but also alternating width is sets of two. e.g. two pages with width 118 mm followed by two pages of 178 mm followed by two pages with width 118 mm, ... You can define different layouts like \definelayout[one][width=118mm] \definelayout[two][width=178mm] and then activate them for pages like \definelayout[1,2,5,6][one] \definelayout[4,5,7,8][two] To automate this for more pages, try a loop, either with \dorecurse or Lua. Calculations are probably easier in Lua. Hraban ___ 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 ___
[NTG-context] Re: [ page setup ]
On 19/01/2025 20:38, Henning Hraban Ramm wrote: You can define different layouts like \definelayout[one][width=118mm] \definelayout[two][width=178mm] and then activate them for pages like \definelayout[1,2,5,6][one] \definelayout[4,5,7,8][two] That helps indeed, Thank you! .F ___ 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 ___
[NTG-context] Re: [ page setup ]
On 19/01/2025 21:43, Mikael Sundqvist wrote: If you are in the middle of a paragraph at the page break where the width changes, it will not work. ok, so the \definelayout will not work for defining alternate (odd/even) narrow, (odd/even) wide pages. Is there an different route? e.g. manually inserting page breaks and tex/paragraph width? .F ___ 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 ___
[NTG-context] Problem using Neo Euler in slides
Dear List, I am using the Debian ConTeXt with the following version: context 2024.04.01.20240428+dfsg-2 I am having some issues, particularly with the \sqrt symbol when using a presentation mode in ConTeXt. The following gist has the files in question: https://gist.github.com/kumanna/eb81deae66e34809b9074be1f3f6e9d0 I have the Fontin, Neo Euler and Delicious OTFs loaded properly with mtxrun. In my slide, if the \sqrt is present, I get the following error: lua error: registered function call [254]: /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:1681: attempt to perform bitwise operation on a nil value (local 'options') stack traceback: /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:1681: in upvalue 'flushrule' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1659: in upvalue 'vlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out' ... (skipping 6 levels) /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1623: in upvalue 'vlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out' /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1799: in upvalue 'converter' /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:3719: in upvalue 'convert' /usr/share/texmf/tex/context/base/mkxl/driv-ini.lmt:211: in function (...tail calls...) mtx-context | fatal error: return code: 1 Please let me know if there is something I need to fix. Thanks. Kumar ___ 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 ___
[NTG-context] Problem with \frac
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 $\mathatom \math_atom_by_parameter_indeed #1->\mathatom \s!class \mathcodechecked {#1} \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 ... { \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 ___
[NTG-context] Re: Problem with \frac
Hi! You are not in math mode. /Mikael Den sön 19 jan. 2025 10:45Bruce Horrocks 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 > > > > $\mathatom > \math_atom_by_parameter_indeed > #1->\mathatom > \s!class \mathcodechecked {#1} > \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 ... > > > { > > \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 > > ___ > ___ 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 ___
[NTG-context] Re: Problem with \frac
> On 19 Jan 2025, at 09:47, Mikael Sundqvist 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 ___
[NTG-context] Re: Problem using Neo Euler in slides
Thank you. I will get back if an upgrade doesn't sort this out. Kumar ___ 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 ___
[NTG-context] Re: Problem using Neo Euler in slides
Confirmed that the latest version works without issue. Thanks. Kumar ___ 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 ___