emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: english automatically option added to latex's babel package
Date: Fri, 19 Jul 2013 10:48:56 +0200	[thread overview]
Message-ID: <87a9lj6ikn.fsf@gmx.us> (raw)
In-Reply-To: 20130718231548.33fad099@gmail.com

Renato <rennabh@gmail.com> writes:

> Hi, I've customized org-latex-packages-alist and added the package
> "babel", with option "italian", however in my latex exports I get:
>
> \usepackage[italian, english]{babel}
>
> I don't want the english option to be there (latex gives it priority
> over the italian one it seems). What could be wrong? I have english as
> default language on my system (archlinux), so maybe I should change some
> variable in emacs?

From the documentation of `org-latex-classes'.  

Likewise, if your header contains \"\\usepackage[AUTO]{babel}\",
AUTO will be replaced with the language related to the language
code specified by `org-export-default-language', which see.  Note
that constructions such as \"\\usepackage[french,AUTO,english]{babel}\"
are permitted.

So the correct way is to set `org-export-default-language'.  None the
less I'd be interested in seeing a minimal example (from emacs -q)
that reproduce your error.  There may be a bug in
`org-latex-guess-babel-language'.

–Rasmus

-- 
Summon the Mothership!

  reply	other threads:[~2013-07-19  8:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-18 21:15 english automatically option added to latex's babel package Renato
2013-07-19  8:48 ` Rasmus [this message]
2013-07-19  9:02 ` Eric S Fraga
2013-07-19 11:00   ` Rasmus
2013-07-25  8:34     ` Renato

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a9lj6ikn.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).