tectonic icon indicating copy to clipboard operation
tectonic copied to clipboard

The font "libertinusmath-regular" cannot be found.

Open Anemone95 opened this issue 9 months ago • 1 comments

I got an error when I used acmart.cls in my document:

> tectonic paper.tex
Running TeX ...
error: acmart.cls:868: Package fontspec Error: The font "libertinusmath-regular" cannot be found.

For immediate help type H <return>
error: halted on potentially-recoverable error as specified

But I have installed the font both in my MacOS system directory and to /usr/local/texlive/texmf-local/fonts/opentype/. Other compilers like xelatex and pdflatex don't have that error. How can I let tectonic get the font?

Anemone95 avatar Mar 05 '25 20:03 Anemone95

At the moment and as far as I can tell, you'll have to search for the exact font names using tectonic -X bundle search "libertinus" and edit your acmart.cls accordingly. Note that this might not find system fonts, see #1238.

thangleiter avatar Mar 23 '25 10:03 thangleiter