Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes:

> Hmmm...
> I'd have to sleep over it. This is more a "user taste" issue IMvvHO.
>
> I have a snippet for that including:
> #+LATEX_HEADER: \setmainfont{FreeSerif}
> #+LATEX_HEADER: \setsansfont{FreeSans}
> #+LATEX_HEADER: \setmonofont{FreeMono}
> but just as a snippet which I modify on demand (and quite often).
>
> I would not dare to impose anything to anyone or force people
> to add customisations for this, because I don't have a "standard"
> setup. I would put this kind of things in the org-mode documentation.

Yup. I agree that it is a valid point. I made the same point several times in 
the past.
But the problem keeps popping up again and again into the face of
unsuspecting users. So, it looks like having some kind of defaults could
be a net win, after all.

For example, we can make the above 3 fonts defcustoms with default
values of 'auto. Then, if we detect non-ascii characters in latex
export, we can auto-detect fonts (from some pre-populated constant list)
and raise a warning message while proceeding with export. It is probably
better than producing pdfs with unreadable 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>

Reply via email to