mikemahoney218 / quarto-arxiv

Quarto template for arXiv preprints
https://mike.quarto.pub/quarto-arxiv-template/template.pdf
MIT License
91 stars 4 forks source link

latin modern roman font not found #17

Closed lucas-johnson closed 10 months ago

lucas-johnson commented 10 months ago

Running ubuntu 22.04...

Trying to render and getting the following errors:

finding package for Latin Modern Roman(-(Bold|Italic|Regular).*)?[.](tfm|afm|mf|otf|ttf)

compilation failed- no matching packages

Package fontspec Error: The font "Latin Modern Roman" cannot be found.

This appears a duplicate of https://github.com/mikemahoney218/quarto-arxiv/issues/6

And so I tried installing the lm-math package a la: https://github.com/mikemahoney218/quarto-arxiv/issues/6#issuecomment-1382836596

But it appeared this was already installed.

I then tried the ubuntu equivalent of https://github.com/mikemahoney218/quarto-arxiv/issues/6#issuecomment-1402338932

sudo apt install lmodern

Which did the trick. Thinking this should go in the README.

Thanks for an awesome tool!