Re: [O] [PATCH (new version)][ox-latex.el] Allow AUTO argument to org-latex-guess-babel-language.

2013-06-06 Thread Rasmus
Nicolas Goaziou writes: >> It changes behavior for your setup in that you can define a LANGUAGE >> that isn't a known abbreviation. > > While I think your patch is overall an improvement, I'm not convinced by > this particular point. Indeed #+LANGUAGE: expects a language code as > value, not just

Re: [O] [PATCH (new version)][ox-latex.el] Allow AUTO argument to org-latex-guess-babel-language.

2013-06-06 Thread Rasmus
"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 ali

Re: [O] [PATCH (new version)][ox-latex.el] Allow AUTO argument to org-latex-guess-babel-language.

2013-06-06 Thread Sebastien Vauban
Hello, Nicolas Goaziou wrote: >> It changes behavior for your setup in that you can define a LANGUAGE >> that isn't a known abbreviation. > > While I think your patch is overall an improvement, I'm not convinced by > this particular point. Indeed #+LANGUAGE: expects a language code as > value, not

Re: [O] [PATCH (new version)][ox-latex.el] Allow AUTO argument to org-latex-guess-babel-language.

2013-06-05 Thread Nicolas Goaziou
Hello, Rasmus writes: Thanks for your patch. Here are a few comments: > It changes behavior for your setup in that you can define a LANGUAGE > that isn't a known abbreviation. While I think your patch is overall an improvement, I'm not convinced by this particular point. Indeed #+LANGUAGE: exp

Re: [O] [PATCH (new version)][ox-latex.el] Allow AUTO argument to org-latex-guess-babel-language.

2013-06-04 Thread Rasmus
Hi Sebastien, >>> Behavior changes: >>> 1. =("AUTO" "babel" t)= works like ("AUTO" "inputenc" t) in >>> =`org-latex-default-packages-alist'=. I.e. the default >>> language is choosen (sic). >>> 2. if #+LANGUAGE: mylang then then \usepackage[mylang]{babel} in >>> outpu (sic). >> >> Th