emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] english automatically option added to latex's babel package


From: Renato
Subject: Re: [O] english automatically option added to latex's babel package
Date: Thu, 25 Jul 2013 10:34:34 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 19 Jul 2013 13:00:26 +0200
Rasmus <address@hidden> wrote:

> Eric S Fraga <address@hidden> writes:
> 
> > Renato <address@hidden> 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.


Hi, many thanks. Yes the #+language option is perfect, as I still want
my default language to be english.

cheers,
renato
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQEcBAEBAgAGBQJR8OMdAAoJEBz6xFdttjrfNmEH/AijrA9V1AM2DyiSFqy+ZF23
LiNIGUTQwuCsI5LZPi3q4Xv80CyvQLuJGlazBTL3uN684bCgNXbaTEPaisET8ZHc
Z8dyrbr3JP+TVhvK9FV9ypF5I7NPc69nQ50aGtFk+g6I016iPe+dLfppr16hnVCv
vIvTE7DU4uZU8lZn7LGMU3dRPm1DX5GNmFXOzqg+Lqgif2PSn7Ny3UCFMAwgxuGX
Zf/PReKx4gcwdo7FQIJbCweFVNS8VOM7p0CuMW3VtSZrV4WKG5RppoQ8O7qA1u5V
YBYcpYAYyns107zv7U5U8LUvlKi50IIbNAKCD8Apbp6EquYdZM5Zo3gTwMw2NVk=
=XPer
-----END PGP SIGNATURE-----

reply via email to

[Prev in Thread] Current Thread [Next in Thread]