Eric S Fraga <[email protected]> writes:
> Renato <[email protected]> writes:
>
>> Hi, I've customized org-latex-packages-alist and added the package
>> "babel", with option "italian", however in my latex exports I get:
>
> Add it with AUTO instead of italian and then specify the language in
> your document using
>
> #+language: it
>
> If you want Italian for all documents by default, set
> org-export-default-language:
These are the recommend instructions, yes, and indeed how I imagined
people to use it.
I looked at it and while I can reproduce there's no bug.
Start from emacs -q and eval
(require 'ox-latex)
(add-to-list 'org-latex-default-packages-alist '("italian" babel nil))
When I export the document
#+begin_src org
* titel
#+end_src
the language defaults to org-export-default-language which is "en".
So it does what you'd expect and loads English in front of Italian
'cause it's the document language.
Compare to what Eric says:
#+begin_src org
#+LANGUAGE: it
* titel
#+end_src
You get only Italian.
So it guesses the language correctly.
–Rasmus
--
Got mashed potatoes. Ain't got no T-Bone. No T-Bone