From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emmanuel Charpentier Subject: BUG (smallish) The exemple of the documentation of the LaTeX LANGUAGE option is incorrect Date: Sat, 27 Jul 2019 10:11:24 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51927) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrHnd-0002Qk-3q for emacs-orgmode@gnu.org; Sat, 27 Jul 2019 04:11:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrHnc-0008J3-50 for emacs-orgmode@gnu.org; Sat, 27 Jul 2019 04:11:29 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]:49314) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hrHnb-0008Hk-VR for emacs-orgmode@gnu.org; Sat, 27 Jul 2019 04:11:28 -0400 Received: from zen-book-flip (unknown [82.228.67.28]) (Authenticated sender: emm.charpentier) by smtp1-g21.free.fr (Postfix) with ESMTPSA id 85E03B00595 for ; Sat, 27 Jul 2019 10:11:24 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode 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