On Tue, 17 Aug 2010, Hans Hagen wrote:
\starttext
\definedfont[file:STIXGeneral at 100pt] test
\stoptext
(I don't have stix fonts so testing with xtis) \starttext \definedfont[file:xits-regular.otf at 100pt] test \stoptext gives define fonts > forced type otf of xits-regular not found define fonts > font with name xits-regular is not found define fonts > unknown font xits-regular, loading aborted define fonts > unable to define xits-regular.otf as \**thedefinedfont** (which is consistent with the previous error message). The error message says "font with ***name*** xits-regular is not found". Not sure if name means font name or file name. As Khalid said, \starttext \definedfont[name:XITS at 100pt] test \stoptext works as expected. mtxrun --script font --list can find xits-regular but luatools --locate cannot. I don't think that should matter. Some diagnostic information: * The result of $mtxrun --script font --list --all | grep xits-regular xits xits /home/adityam/.fonts/xits-math/xits-regular.otf (No fontname, instead the font location is given). * The result of $mtxrun --script font --list --file --pattern=xits-regular.otf xits normal normal normal normal xits /home/adityam/.fonts/xits-math/xits-regular.otf conflict: regular (What does the conflict: regular flag mean) * Custom setuptex file TEXMFOS=/opt/context-minimals/texmf-linux export TEXMFOS TEXMFCACHE=$HOME/texmf-cache export TEXMFCACHE unset TEXINPUTS MPINPUTS MFINPUTS PATH=$TEXMFOS/bin:$PATH export PATH OSFONTDIR="$HOME/.fonts;/usr/share/fonts;" export OSFONTDIR (No other customizations of the environments). I have no idea what is going on here. Can it be a linux vs windows things? Can someone else on linux (with xits fonts in OSFFONTDIR) test the above examples? Hans, is there some tracing that I can enable to see how the fonts are being searched? Aditya