Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes: >> My main idea is making export work "by default" for more users. >> Without having to set defcustoms. So, I'd prefer detecting non-ascii to >> be done, if possible. > > I would at least give control over generating or not any header and then > hard-code a reasonable set of font-related preamble code. > > (defcustom org-latex-generate-font-preamble > nil > "Set to non-nil to generate a font preamble. Default value is nil > which means that you have to add it with > #+LATEX_HEADER: > ")
This is ok for me. > I'd go for the "Free---" fonts in lualatex and see what we need in latex. Also fine. > That said, even having the infrastructure to auto-generate the font >> preamble will be an improvement. > > BTW, what about changing the default LaTeX compiler to lualatex in 9.8? I doubt that it is a good idea. Mainly because we can break documents that were working in Org <9.8. We can discuss it though, but better separately - discussions about changing defaults tend to generate long threads that are difficult to move forward. -- 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>