Skip to content

Font not found #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cderv opened this issue Apr 16, 2025 · 1 comment
Open

Font not found #38

cderv opened this issue Apr 16, 2025 · 1 comment

Comments

@cderv
Copy link
Contributor

cderv commented Apr 16, 2025

finding package for libertinusmath-regular(-(Bold|Italic|Regular).*)?[.](tfm|afm|mf|otf|ttf)
ERROR: 
compilation failed- no matching packages
Package fontspec Error: 
(fontspec)                The font "libertinusmath-regular" cannot be found;
(fontspec)                this may be but usually is not a fontspec bug.
(fontspec)                Either there is a typo in the font name/file, the
(fontspec)                font is not installed (correctly), or there is a
(fontspec)                bug in the underlying font loading engine
(fontspec)                (XeTeX/luaotfload).

For immediate help type H <return>.
 ...

l.868     \RequirePackage
                         [tt=false]{libertine}

ACM requires to install libertinus-fonts which is not automatically detected because the font file is LibertinusMath-Regular.otf: https://ctan.org/tex-archive/fonts/libertinus-fonts/otf

So quarto auto detection for missing package does not help here - Quarto improvement ?

In the meantime, installing the package manually solves it.

@cderv cderv mentioned this issue Apr 16, 2025
@cderv
Copy link
Contributor Author

cderv commented Apr 16, 2025

Updating ACM #39 and doing

    \setmathfont[Scale=MatchUppercase]{LibertinusMath-Regular.otf}

is not helping - it seems there is an edge case with this font, that could require some handling in our auto detection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant