Bug#1017969: texlive-latex-recommended: As configured by texlive-latex-recommended, fontspec using XeLaTeX cannot find system fonts by name.
> % \setmainfont{TexGyreTermes}
> % \setmathfont{Tex Gyre Termes Math}
If you use the correct
\setmainfont{TeX Gyre Termes}
\setmathfont{TeX Gyre Termes Math}
(note the uppercase X in TeX, the spaces, etc) then it works.
You can check - as documented in the fontspec manual - with
otfinfo -i <FILENAME>
and pick the "Preferred Family", in the Math case
Preferred family: TeX Gyre Termes Math
OSFONTDIR is set to /usr/share/fonts and searched recursively, so the
fonts should be found.
Furthermore, the TeX Gyre fonts should be linked into
/usr/share/texmf/fonts, and also be found via that line.
Best
Norbert
--
PREINING Norbert https://www.preining.info
Mercari Inc. + IFMGA Guide + TU Wien + TeX Live
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Reply to: