The current (org-version=9.2.4) documentation of the LANGUAGE option
for LaTeX export gives this example :

#+begin_example
       (add-to-list org-latex-package-alist
                    '("AUTO" "babel" t ("pdflatex")))
       (add-to-list org-latex-package-alist
                    '("AUTO" "polyglossia" t ("xelatex" "lualatex")))
#+end_example

It should be:

#+begin_example
#+bensert the example in agin_src emacs-lisp :exports none :results
none
  (add-to-list 'org-latex-packages-alist
               '("AUTO" "babel" t ("pdflatex")))
  (add-to-list 'org-latex-packages-alist
               '("AUTO" "polyglossia" t ("xelatex" "lualatex")))
#+end_src
#+end_example

i. e.:
  * The name of the list has to be quoted.
  * The exact list name has as "s" after "package".
  * I'd give a full ~emacs-lisp~ snippet (but I agree that this is
disputable...).

Care fo a formal patch ?

HTH,

--
Emmanuel Charpentier


Reply via email to