Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes: > What you mean is: > ... > + (:languages "LANGUAGE" nil (list org-export-default-language) split) > ... > + ;; Get :languages and insert it into :language > + (when-let* ((languages (plist-get info :languages)) > + (lang (nth 0 languages))) > + (setq info (plist-put info :language lang))) > ;; Run first hook with current backend's name as argument. > (run-hook-with-args 'org-export-before-processing-hook > (org-export-backend-name backend)) > > And then, of course, use :languages in ox-latex.el > > Right?
Yes. Can also just use (car languages). And you need to put this later, after (org-export-get-environment backend subtreep ext-plist) -- 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>