emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG (smallish) The exemple of the documentation of the LaTeX LANGUAGE option is incorrect
@ 2019-07-27  8:11 Emmanuel Charpentier
  2019-08-17 13:32 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Emmanuel Charpentier @ 2019-07-27  8:11 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: BUG (smallish) The exemple of the documentation of the LaTeX LANGUAGE option is incorrect
  2019-07-27  8:11 BUG (smallish) The exemple of the documentation of the LaTeX LANGUAGE option is incorrect Emmanuel Charpentier
@ 2019-08-17 13:32 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2019-08-17 13:32 UTC (permalink / raw)
  To: Emmanuel Charpentier; +Cc: emacs-orgmode

Hello,

Emmanuel Charpentier <emm.charpentier@free.fr> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-17 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-27  8:11 BUG (smallish) The exemple of the documentation of the LaTeX LANGUAGE option is incorrect Emmanuel Charpentier
2019-08-17 13:32 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).