Here is the minium not-working example which I took from the Wikigarden a few
minutes ago.
\def\T#1{%
\startitemize[#1,joinedup]
\item This is a bullet of type #1.
\stopitemize
}
\starttext
\dorecurse{9}{\T\recurselevel}
\stoptext
Compiling this into a pdf file with context produces an error.
I've pasted the complete context typesetting run to show the error, in hopes
that it will shed some light on what's wrong with my setup. I have a feeling
that the stand along install is missing some vital part of the installation
regarding fonts, and that it's not noticed by the majority of you since those
items are still on your system from legacy versions.
Regards
---------
* OS: ubuntu 20.04.3 LTS
* Context current version: 2021.11.13 20:36
$ context bullet-style-example-iteration.lmtx
----------------
resolvers | formats | executing runner 'run luametatex format':
/opt/context-lmtx/tex/texmf-linux-64/bin/luametatex
--jobname="./bullet-style-example-iteration.lmtx"
--fmt=/opt/context-lmtx/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
--lua=/opt/context-lmtx/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
--c:currentrun=1 --c:fulljobname="./bullet-style-example-iteration.lmtx"
--c:input="./bullet-style-example-iteration.lmtx" --c:kindofrun=1
--c:maxnofruns=9 --c:texmfbinpath="/opt/context-lmtx/tex/texmf-linux-64/bin"
system > callbacks > not registering frozen 'local_box_filter'
system >
system > ConTeXt ver: 2021.11.13 20:36 LMTX fmt: 2021.11.13 int:
english/english
system >
system > 'cont-new.mkxl' loaded
open source > level 1, order 1, name
'/opt/context-lmtx/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > beware: some patches loaded from cont-new.mkiv
close source > level 1, order 1, name
'/opt/context-lmtx/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > files > jobname './bullet-style-example-iteration', input
'./bullet-style-example-iteration.lmtx', result
'./bullet-style-example-iteration'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 1, order 2, name './bullet-style-example-iteration.lmtx'
fonts > preloading latin modern fonts (second stage)
fonts > defining > font with asked name 'lmroman12-regular' is not
found using lookup 'file'
fonts > defining > unable to define 'lmroman12-regular' as
'modern-designsize-12pt-rm-tf-0--0'
fonts > defining > forced type 'otf' of 'latinmodern-math-regular'
not found
fonts > defining > unable to define 'latinmodern-math-regular.otf' as
'modern-designsize-12pt-mm-mr--3'
fonts > defining > unable to define 'latinmodern-math-regular.otf' as
'modern-designsize-12pt-mm-mr--2'
fonts > defining > unable to define 'latinmodern-math-regular.otf' as
'modern-designsize-12pt-mm-mr--1'
fonts > defining > unable to define 'latinmodern-math-regular.otf' as
'modern-designsize-12pt-mm-mb--3'
fonts > defining > unable to define 'latinmodern-math-regular.otf' as
'modern-designsize-12pt-mm-mb--2'
fonts > defining > unable to define 'latinmodern-math-regular.otf' as
'modern-designsize-12pt-mm-mb--1'
fonts > 'fallback modern-designsize rm 12pt' is loaded
tex error > tex error on line 9 in file
./bullet-style-example-iteration.lmtx: \textfont0 is undefined in (text) char,
font id 0, character 63)
<macro> \textormathchar
...ar \scratchcounter \else \ifconditional \prefermathovertextchar
\setfontid \fontid \textfont \c_font_fam_mr \fi \iffontchar \font
\scratchcounter \char \scratchcounter \else \normalstartimath \char
\scratchcounter \normalstopimath
\fi \fi \endg ...
<macro> \symb_place_indeed
#1->\settrue \c_symb_found \begingroup \the \everysymbol \csname \??symbol
#1\endcsname
\relax \endgroup
<macro> \symb_place_retry
#1->\ifcsname \??symbol :#1\endcsname \symb_place_indeed {:#1}
\else #1\fi
<macro> \currentsymbol
\setfalse \c_symb_found \the \t_symb_setups \ifconditional \c_symb_found
\else \symb_place_retry \currentsymbol
\fi
<macro> \symb_place_argument
#1->\dontleavehmode \edef \currentsymbol {#1}\ifcsname \??symbol
\currentsymbolset :#1\endcsname \symb_place_indeed {\currentsymbolset :#1}\else
\symb_place_normal
\fi
<macro> \symb_place_indeed
#1->\settrue \c_symb_found \begingroup \the \everysymbol \csname \??symbol
#1\endcsname
\relax \endgroup
...
<line 3.9>
\dorecurse{9}{\T\recurselevel}
1
2 \def\T#1{%
3 \startitemize[#1,joinedup]
4 \item This is a bullet of type #1.
5 \stopitemize
6 }
7
8 \starttext
9 >> \dorecurse{9}{\T\recurselevel}
10 \stoptext
"Somewhere in the math formula just ended, you used the stated character from an
undefined font family. For example, plain TeX doesn't allow \it or \sl in
subscripts. Proceed, and I'll try to forget that I needed that character.
mtx-context | fatal error: return code: 256 "
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________