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

> It would make then difficult to distinguish between people who want/need
> polyglossia and people who don't, wouldn't it.
> I'd rather not force anyone to load polyglossia if they don't want to use
> it.

Fair. However, I still feel that having to specify languages separately
may be redundant. I imagine that babel and polyglossia may derive from
the same keyword. Especially since we already have a mapping between
Org's language names and babel/polyglossia names in
`org-latex-language-alist'.

Would it make sense to add something like
#+LATEX_MULTILANG_BACKEND: polyglossia/babel/nil
that will control which one to use?

Then, ox-latex can examine #+LANGUAGE and use polyglossia/babel/none
depending on the #+LATEX_MULTILANG_BACKEND and also presence of the
\usepackage{polyglossia/babel} in the latex header.

-- 
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