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

> I have finally added preliminary support for babel (as in LaTeX package) to
> the feature branch.
> it is activated by the
> #+LATEX_BABEL_LANGS
> header keyword, which substitutes the need for
> #+LATEX_HEADER: \usepackage[...]{babel}
> in the header.

Thanks! Do I understand correctly that you are yet to add the relevant
description to the manual?

Also, I noticed that you are using

+               ;;
+               ;; If we intend to use polyglossia, we can put it here.
+               ;; Same for babel on lua/xelatex
+               ;; They will automatically load, among others, fontspec
+               ;; If none are selected, then use fontspec directly
+               ;;
+               (insert (cond (polyglossia-langs
+                              ;; polyglossia imports fontspec automatically
+                              (format "\\usepackage[%s]{polyglossia}\n" 
polyglossia-langs))

However, we already specify the languages via
setmainlanguage/setotherlanguage. Isn't your code redundant?

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