From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: new (LaTeX) exporter and date formatting Date: Thu, 14 Jun 2012 15:16:00 +0200 Message-ID: <8062au2fvz.fsf@somewhere.org> References: <87ehqbxrz1.fsf@med.uni-goettingen.de> <87sjerav34.fsf@gmail.com> <871umay444.fsf@med.uni-goettingen.de> <874nqe9l2n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello Nicolas, Nicolas Goaziou wrote: > Andreas Leha writes: >>>> >>>> Ideally, in my opinion, the LaTeX-exporter would honor the >>>> "#+LANGUAGE: XX" >>>> setting and change the babel-settings accordingly >>> >>> That seems reasonable. Is there any translation table between language >>> symbols and Babel options? >> >> Not that I am aware of. But we could start one quite easily. I got this >> list of LaTeX-babel supported languages from >> http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/babel.pdf: >> (just a quick hack...) > > The following patch should add the language option according to LANGUAGE > keywords if babel package is explicitly loaded in preamble. I think this will be a great addition! > Is it what you had in mind? I'm a bit reluctant to load babel package if > not present. At first sight, I had no particular opinion about whether it's better to load or not Babel by default. After thinking about it, I think you're right NOT loading it by default. Babel plays with cat codes for `:' among others, and can conflict with isodate IIRC. Hence, better let the user decide to really include it or not. Best regards, Seb -- Sebastien Vauban