Skip to content
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

PDF() uses Julia Mono but there's no installation suggestion #254

Closed
logankilpatrick opened this issue Nov 19, 2021 · 5 comments · Fixed by #258 or #286
Closed

PDF() uses Julia Mono but there's no installation suggestion #254

logankilpatrick opened this issue Nov 19, 2021 · 5 comments · Fixed by #258 or #286
Labels
priority This should be fixed first

Comments

@logankilpatrick
Copy link
Member

I tied to run pdf() but it errors with:

error: texput.tex:46: Package fontspec Error: The font "JuliaMono-Regular" cannot be found.

For immediate help type H <return>
error: halted on potentially-recoverable error as specified
Error producing PDF.
! Package fontspec Error: The font "JuliaMono-Regular" cannot be found.

However, the docs: https://books.huijzer.xyz/getting-started mention nothing about adding the font.

@logankilpatrick
Copy link
Member Author

It's also unclear to me where this is being set and how I would override it

@logankilpatrick
Copy link
Member Author

I see a mention here: https://books.huijzer.xyz/other-notes but no note on how to override it

@logankilpatrick
Copy link
Member Author

Adding via home-brew fixes the issue but should be setup as a dep: https://juliamono.netlify.app/download/#installation

@rikhuijzer
Copy link
Collaborator

Yes, this is a very good point. I have a solution in my head already, but didn't implement it yet. In essence, I should just pass the Julia Artifacts link to the PDF template just like listings_path is also passed into the template.

@rikhuijzer rikhuijzer added the priority This should be fixed first label Nov 20, 2021
@rikhuijzer
Copy link
Collaborator

Adding via home-brew fixes the issue but should be setup as a dep: https://juliamono.netlify.app/download/#installation

It would probably be better if it is not a dep but an artifact via Artifacts. That's platform independent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority This should be fixed first
Projects
None yet
2 participants