From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [PATCH][ox-latex.el] Allow AUTO argument to org-latex-guess-babel-language. Date: Mon, 03 Jun 2013 15:47:32 +0200 Message-ID: <87ehcj9uh7.fsf@pank.eu> References: <87sj12bwzj.fsf@pank.eu> <8661xvprju.fsf@somewhere.org> 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]:46372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjV73-0005K6-VJ for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 09:48:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjV6w-0007xw-1o for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 09:47:53 -0400 Received: from plane.gmane.org ([80.91.229.3]:48845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjV6v-0007xj-PY for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 09:47:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UjV6t-0003aT-MR for emacs-orgmode@gnu.org; Mon, 03 Jun 2013 15:47:43 +0200 Received: from ip-pool-133.iue.it ([192.167.90.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jun 2013 15:47:43 +0200 Received: from rasmus by ip-pool-133.iue.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jun 2013 15:47:43 +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 "Sebastien Vauban" writes: > Hello Rasmus, > > Rasmus wrote: >> 1. As far as I remember, if more than one language is loaded the >> order is not neutral one one should issue a \selectlanguage{LANG}. > > If there are multiple languages, the main language is the latest loaded; that > is `english' in the following example: > > \RequirePackage[frenchb,english]{babel} So if a #+LANGUAGE: LANG cookie is present I guess it should be loaded last. Or a \selectlanguage{LANG} should be issued. Non-rigorous testing suggests that it will do the former now on master and thus presumably also in the patch. –Rasmus -- El Rey ha muerto. ¡Larga vida al Rey!