From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: english automatically option added to latex's babel package Date: Fri, 19 Jul 2013 13:00:26 +0200 Message-ID: <87wqom6chh.fsf@gmx.us> References: <20130718231548.33fad099@gmail.com> <878v12gbx2.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V08QV-00069P-A8 for emacs-orgmode@gnu.org; Fri, 19 Jul 2013 07:00:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V08QT-0001ga-GJ for emacs-orgmode@gnu.org; Fri, 19 Jul 2013 07:00:43 -0400 Received: from plane.gmane.org ([80.91.229.3]:36505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V08QS-0001gQ-T1 for emacs-orgmode@gnu.org; Fri, 19 Jul 2013 07:00:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V08QN-0002Be-SS for emacs-orgmode@gnu.org; Fri, 19 Jul 2013 13:00:35 +0200 Received: from business-213-023-238-209.static.arcor-ip.net ([213.23.238.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Jul 2013 13:00:35 +0200 Received: from rasmus by business-213-023-238-209.static.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Jul 2013 13:00:35 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric S Fraga writes: > Renato 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