
Com o XeLaTeX, a seguinte fonte funciona conforme o esperado:
\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}
No entanto, se eu comentar a linha
\setmathfont{texgyrebonum-math.otf}
e descomente a linha
\setmathfont{TeX Gyre Bonum Math}
então eu recebo um erro
Package fontspec Error: The font "TeX Gyre Bonum Math" cannot be found.
A última forma, "detalhada", de especificar a fonte matemática funciona, entretanto, com TeX Gyre Pagella Math e TeX Gyre Termes Math.
Comando
otfinfo -a `kpsewhich texgyrebonum-math.otf`
dá o resultado esperado TeX Gyre Bonum Math
. E
/usr/local/texlive/2019/texmf-var/fonts/conf/texlive-fontconfig.conf
já inclui a linha:
<dir>/usr/local/texlive/2019/texmf-dist/fonts/opentype</dir>
O que pode estar errado?