Kai von Fintel <fin...@mit.edu> writes:

>>> (defun org-latex--format-spec (info)
>>>   "Create a format-spec for document meta-data.
>>> INFO is a plist used as a communication channel."
>>>   (let ((language (let ((lang (plist-get info :language)))
>>>                 (or (cdr (assoc-string lang org-latex-babel-language-alist 
>>> t))
>>>                     (nth 1 (assoc-string lang 
>>> org-latex-polyglossia-language-alist t))
>>>                     lang))))
>>>
>>> This borks my latex exports.
> ...
> Thanks, Ihor. Your change fixed my issue.
>
> I do think that the code on lines 1864 and 1865 of =ox-latex.el= 
> (https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/ox-latex.el#n1864)
>  should not use the old variable names. Since you’ve now defined the old 
> variables in =org-compat.el=, my exports work, so I’m ok for the moment. But 
> I don’t understand why they are still used in the definition of 
> =org-latex--format-spec=.
>
> But of course I’m far from familiar with the org code base.

Hmm. You are actually right.
Juan, can you please take a look. It looks like you missed
"org-latex--format-spec" in the patch. It should use the new
org-latex-language-alist variable instead.

Best,
Ihor

Reply via email to