
Mit XeLaTeX funktioniert die folgende Quelle wie erwartet:
\documentclass{article}
\usepackage{fontspec}
\usepackage{unicode-math}
\setmainfont{TeX Gyre Bonum}
\setmathfont{texgyrebonum-math.otf} % this way OK
%\setmathfont{TeX Gyre Bonum Math} % but this way gives "font cannot be found" error
\begin{document}
\[
\int_{0}^{1} e^{-\frac{1}{2} \xi^{2}} d \xi
\]
\end{document}
Wenn ich jedoch die Zeile auskommentiere
\setmathfont{texgyrebonum-math.otf}
und heben Sie die Kommentierung der Zeile auf
\setmathfont{TeX Gyre Bonum Math}
dann bekomme ich eine Fehlermeldung
Package fontspec Error: The font "TeX Gyre Bonum Math" cannot be found.
Die letztere, „ausführliche“ Form der Angabe der mathematischen Schriftart funktioniert jedoch mit TeX Gyre Pagella Math und TeX Gyre Termes Math.
Befehl
otfinfo -a `kpsewhich texgyrebonum-math.otf`
gibt das erwartete Ergebnis TeX Gyre Bonum Math
. Und
/usr/local/texlive/2019/texmf-var/fonts/conf/texlive-fontconfig.conf
enthält bereits die Zeile:
<dir>/usr/local/texlive/2019/texmf-dist/fonts/opentype</dir>
Was könnte falsch sein?