Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes: > For lualatex you don't need the \fontspec package. > > #+LATEX_COMPILER: lualatex > #+LATEX_HEADER: \setmonofont{DejaVu Sans Mono} % or another monospace font > with Unicode support
We should really provide some way to select fonts for lualatex and xelatex automatically... `x-list-fonts' should give us a way to check if a given font is available and we can assemble a list of common fonts that might be used. `font-has-char-p' can check if all the characters in latex document can be displayed using that font. Then, we can select the first available font from that list. Or at least the font that covers most of the characters. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>