I'm feeling really stupid at the moment, but here's the answer: The instruction to download the installer and then to run
texlua install-getnonfreefonts
means that the getnonfreefonts
script will be installed. To install the fonts themselves, one must then follow these instructions and run (in the case of Luximono into the TEXMFLOCAL tree)
getnonfreefonts-sys luximono
and everthing will be fine (except one's self-perception as a LaTeX power user).
As far as I know, the 14 base fonts that all PDF readers should know are Type1 fonts (Times, Courier, Helvetica, Symbol and Zapf Dingbats) and they don't support arbitrary Unicode.
So, while with (pdf)latex
it would be possible to avoid downloading the base fonts in a PDF document by setting the corresponding option
updmap-sys setoption pdftexDownloadBase14 false
updmap-sys setoption dvipsDownloadBase14 false
(thanks to Martin Schröder for pointing to the command, see the man page of updmap
for more information; end with true
for reverting to the default), this has little sense with XeLaTeX, because it would deprive it of its main feature, that is, dealing with OpenType or TrueType fonts covering the whole Unicode character set.
Thus, if you plan to use XeLaTeX for exploiting OpenType features, let XeTeX and xdvipdfmx
download the font to the PDF file.
Best Answer
There is a much more easier way.
Download the font from the official site, not the github repo (for some reason it didn't work for me)
Install it in your font folder. In linux, usually under
.font
Use fontspec (xetex/lualatex)
Add the following code:
To use the new stackoverflow icon, add:
MWE: