mossr / julia-mono-listings

LaTeX listings style for Julia and Unicode support for the JuliaMono font

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Standalone .sty file

Azzaare opened this issue · comments

Following #9 and #6, it would be nice to have the option to use machine's JuliaMono fonts (if available). That way we could avoid keeping local font files.

I am not knowledgeable with fonts in LaTeX, but it seems fontenc gives the option to test whether a font is available or not. Maybe we could do something along the lines:

  • check if (and use) local repository JuliaMono.ttf files are available
  • otherwise check within machine's font
  • if none are available, raise an error (or default to other fonts)

I absolutely love this idea—great work and thank you. I'm even less familiar than you with how to manage the fonts, but I think your approach would work nicely.

I'm on vacation right now so I'll review everything and come back to this before the summer's over.

If I find some time for it, I will give it a go during summer (help is more than welcome!)

Enjoy your vacations