Hi there
as a newcomer in ConTeXt I installed according to
and using TeXShop on macos as advised.
However, I like to use STIX2-Fonts for Text and Math and hence my MWE to test which fonts are going to be embedded (CLI pdffonts):
————-
\setupbodyfont[stixtwo]
\starttext
Test ß 1lIjJuQ \% § \& ?! VERSAL-ẞ- \|> --- 1234567890 --- //
\placeformula[eqn:def-m]
\startformula
m = \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}
\stopformula
\stoptext
————-
Unfortunately the compiler throws an error — why is there a check of STIX2-fonts versions, why is that important?
I checked and found
/Users/hp/Library/Fonts/STIXTwoText-Regular.otf Version 2.12 b168
/Users/hp/Library/context-osx-64/tex/texmf/fonts/opentype/public/stix2-otf/STIXTwoText-Regular.otf Version 2.11 b159
Could you please advise for a work around?
from the log:
————-
fonts > otf loading > loading 'stixtwotext-regular.otf', hash 'stixtwotext-regular'
otf reader > unknown version '
' in file 'stixtwotext-regular.otf'
fonts > otf loading > loading done
fonts > otf loading > saving 'stixtwotext-regular.otf' in cache
system > lua > compiling '/Users/hp/Library/context-osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/stixtwotext-regular.tma' into '/Users/hp/Library/context-osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/stixtwotext-regular.tmd'
system > lua > dumping '/Users/hp/Library/context-osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/stixtwotext-regular.tma' into '/Users/hp/Library/context-osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/stixtwotext-regular.tmd' stripped
fonts > otf loading > loading, optimizing, packing and caching time 0.002
lua error > lua error on line 1 in file ./Untitled.tex:
registered function call [1129]: ...-64/tex/texmf-context/tex/context/base/mkiv/font-otc.lua:325: attempt to index a nil value (upvalue 'descriptions')
stack traceback:
...-64/tex/texmf-context/tex/context/base/mkiv/font-otc.lua:325: in local 'prepare_ligature'
...-64/tex/texmf-context/tex/context/base/mkiv/font-otc.lua:770: in upvalue 'addfeature'
...-64/tex/texmf-context/tex/context/base/mkiv/font-otc.lua:899: in local 'enhancer'
...-64/tex/texmf-context/tex/context/base/mkxl/font-con.lmt:1269: in upvalue 'enhance'
...-64/tex/texmf-context/tex/context/base/mkxl/font-con.lmt:1291: in field 'apply'
...-64/tex/texmf-context/tex/context/base/mkxl/font-otl.lmt:263: in field 'load'
...-64/tex/texmf-context/tex/context/base/mkxl/font-otl.lmt:602: in upvalue 'otftotfm'
...-64/tex/texmf-context/tex/context/base/mkxl/font-otl.lmt:630: in function <...-64/tex/texmf-context/tex/context/base/mkxl/font-otl.lmt:629>
(...tail calls...)
...-64/tex/texmf-context/tex/context/base/mkxl/font-def.lmt:378: in function <...-64/tex/texmf-context/tex/context/base/mkxl/font-def.lmt:366>
(...tail calls...)
...-64/tex/texmf-context/tex/context/base/mkxl/font-def.lmt:484: in field 'read'
...-64/tex/texmf-context/tex/context/base/mkxl/font-ctx.lmt:1336: in function <...-64/tex/texmf-context/tex/context/base/mkxl/font-ctx.lmt:1193>
(...tail calls...)
1 >> \setupbodyfont[stixtwo]
————-
Many thanks for your support.
Kind regards