From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Quotes not being converted correctly for LaTeX export Date: Fri, 08 Mar 2013 22:28:17 +0100 Message-ID: <877glh1szy.fsf@gmail.com> References: <20130308172751.GI13199@kuru.dyndns-at-home.com> <87k3phn6do.fsf@gmail.com> <20130308174649.GJ13199@kuru.dyndns-at-home.com> <87fw05n5de.fsf@gmail.com> <20130308180240.GK13199@kuru.dyndns-at-home.com> <877glhn4h3.fsf@gmail.com> <87d2v9zr02.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UE4qB-0007I2-2V for emacs-orgmode@gnu.org; Fri, 08 Mar 2013 16:28:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UE4q5-0002VG-6w for emacs-orgmode@gnu.org; Fri, 08 Mar 2013 16:28:35 -0500 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:49749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UE4q5-0002V4-0P for emacs-orgmode@gnu.org; Fri, 08 Mar 2013 16:28:29 -0500 Received: by mail-we0-f179.google.com with SMTP id p43so1584203wea.10 for ; Fri, 08 Mar 2013 13:28:28 -0800 (PST) In-Reply-To: <87d2v9zr02.fsf@bzg.ath.cx> (Bastien's message of "Fri, 08 Mar 2013 19:27:25 +0100") 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: Bastien Cc: Emacs Org mode , Jambunathan K Hello, Bastien writes: > There is still something wrong here: if french users use > (setq org-export-smart-quotes-alist t) and do not use > \usepackage[french]{babel}, the quotes will not be very > smart, they will disappear. > > I suggest having an option for the babel package: when > a string (equal org-latex-use-package-babel "french"), it > will trigger the insertion of \usepackage[french]{babel} > in the header. When an alist, it will trigger the insertion > of \usepackage... depending on the current language. > > I think {babel} is common enough to deserve its own option, > but maybe I'm overrating its use. > > Nicolas, what do you think? Latex back-end already takes care of setting the correct Babel language according to LANGUAGE keyword. The only problem is when user doesn't load Babel at all, but still wants to use smart quotes. Is it meaningful? Even if it is, I suspect it is quite rare. So, dropping a note in `org-export-with-smart-quotes' docstring would be enough. As you probably know, I'm not a big fan of package autoloading. Regards, -- Nicolas Goaziou