From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: ox-latex: default packages cleaning Date: Wed, 8 Jul 2015 17:41:39 +0200 Message-ID: <20150708154139.GG32342@chitra.no-ip.org> References: <87r3ok589c.fsf@gmx.us> <20150707193522.GB30985@chitra.no-ip.org> <87y4iq24kl.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCrTj-0003zw-UG for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 11:41:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCrTj-00077I-5s for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 11:41:43 -0400 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:34685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCrTi-00076s-UC for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 11:41:43 -0400 Received: by wgov12 with SMTP id v12so14904730wgo.1 for ; Wed, 08 Jul 2015 08:41:42 -0700 (PDT) Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by smtp.gmail.com with ESMTPSA id fi6sm3548525wib.6.2015.07.08.08.41.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jul 2015 08:41:41 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87y4iq24kl.fsf@gmx.us> 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 Hi Rasmus, On Wed, Jul 08, 2015 at 02:53:46PM +0200, Rasmus wrote: > > +(defun org-latex-guess-polyglossia-language (header info) > + "Set the Polyglossia language according to the LANGUAGE keyword. I'm in two-minds about this. On the one had it is a nice thing, but on the other hand, it prevents the more fine grained control offered by polyglossia. For example, I used this in my setup before: \setdefaultlanguage[variant=british]{english} I don't see an easy way of passing the optional argument. But on the other hand \setmainlanguage{english} is plain, simple, and works in most (almost all) cases. I'm thinking whether to leave the babel/polyglossia features entirely up to the user. That said, I like the feature very much. For people who write in multiple languages, if they load polyglossia, it should "just work" for all their documents. Which is great! WDYT? What do others think? -- Suvayu Open source is the future. It sets us free.