From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [PATCH (new version)][ox-latex.el] Allow AUTO argument to org-latex-guess-babel-language. Date: Thu, 06 Jun 2013 11:28:29 +0200 Message-ID: <87ip1r1tc2.fsf@pank.eu> References: <87sj12bwzj.fsf@pank.eu> <8661xvprju.fsf@somewhere.org> <87ehcj9uh7.fsf@pank.eu> <8638sz1e3b.fsf@somewhere.org> <87obbn8c36.fsf@pank.eu> <86wqqae5n4.fsf@somewhere.org> <87ppw26xe2.fsf_-_@pank.eu> <87y5aollyh.fsf@gmail.com> <868v2nof5o.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]:56163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkWUz-0000Ba-VK for emacs-orgmode@gnu.org; Thu, 06 Jun 2013 05:28:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkWUv-0006yX-8s for emacs-orgmode@gnu.org; Thu, 06 Jun 2013 05:28:49 -0400 Received: from plane.gmane.org ([80.91.229.3]:54034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkWUv-0006yO-2H for emacs-orgmode@gnu.org; Thu, 06 Jun 2013 05:28:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UkWUs-0005zR-LG for emacs-orgmode@gnu.org; Thu, 06 Jun 2013 11:28:42 +0200 Received: from 87-57-37-160-dynamic.dk.customer.tdc.net ([87.57.37.160]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Jun 2013 11:28:42 +0200 Received: from rasmus by 87-57-37-160-dynamic.dk.customer.tdc.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Jun 2013 11:28:42 +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: > That makes me think of another point: how do I say that the HTML exported > document is in American English? By having a #+LANGUAGE: en-us specification. > > But that's not a valid language for Babel when exporting to LaTeX. > > So, I think we'd need some sort of alist with allowed values, and their > equivalent for LaTeX and for HTML (and for other uses?), don't we? That list is `org-latex-babel-language-alist'. It has en-us and translate it to =american=. –Rasmus -- Send from my Emacs