emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] BUG (smallish) The exemple of the documentation of the LaTeX LANGUAG


From: Emmanuel Charpentier
Subject: [O] BUG (smallish) The exemple of the documentation of the LaTeX LANGUAGE option is incorrect
Date: Sat, 27 Jul 2019 10:11:24 +0200
User-agent: Evolution 3.30.5-1.1

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

[Prev in Thread] Current Thread [Next in Thread]