From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: BUG (smallish) The exemple of the documentation of the LaTeX LANGUAGE option is incorrect Date: Sat, 17 Aug 2019 15:32:18 +0200 Message-ID: <87imqv534t.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49164) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyyoj-0008Lc-6Z for emacs-orgmode@gnu.org; Sat, 17 Aug 2019 09:32:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyyoi-0005EX-6y for emacs-orgmode@gnu.org; Sat, 17 Aug 2019 09:32:25 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:40951) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hyyoi-00059t-12 for emacs-orgmode@gnu.org; Sat, 17 Aug 2019 09:32:24 -0400 In-Reply-To: (Emmanuel Charpentier's message of "Sat, 27 Jul 2019 10:11:24 +0200") 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: Emmanuel Charpentier Cc: emacs-orgmode Hello, Emmanuel Charpentier writes: > 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...). Fixed. Thank you. Regards, -- Nicolas Goaziou