Re: set italian language in LaTeX export

2024-02-19 Thread Juan Manuel Macías
Luca Ferrari writes: >> #+language:it >> #+LaTeX_Header: \usepackage[AUTO]{babel} >> > > Thanks, this solved the problem. Out of curiosity, why is not org-mode > adding it automatically whenever a #+language setting is present? > I'm just curious because it seems that, as an example, open-office >

Re: set italian language in LaTeX export

2024-02-19 Thread Luca Ferrari
O> You must load the babel package with the AUTO option: > > #+language:it > #+LaTeX_Header: \usepackage[AUTO]{babel} > Thanks, this solved the problem. Out of curiosity, why is not org-mode adding it automatically whenever a #+language setting is present? I'm just curious because it seems that, a

Re: set italian language in LaTeX export

2024-02-19 Thread Juan Manuel Macías
Luca Ferrari writes: > #+language: it > > and I correctly got in the LaTeX buffer something like: > > pdflang={Italian}} > > but not something like: > > \usepackage[italian]{babel} You must load the babel package with the AUTO option: #+language:it #+LaTeX_Header: \usepackage[AUTO]{babel} (see

set italian language in LaTeX export

2024-02-19 Thread Luca Ferrari
Hi all, this has to be trivial, but it is not working on my system (Emacs 28.2, Org 9.5.5): I set in my document #+language: it and I correctly got in the LaTeX buffer something like: pdflang={Italian}} but not something like: \usepackage[italian]{babel} and therefore the generation of the PDF