emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH (v3)][ox-latex.el] Allow AUTO argument to org-latex-guess


From: Nicolas Goaziou
Subject: Re: [O] [PATCH (v3)][ox-latex.el] Allow AUTO argument to org-latex-guess-babel-language.
Date: Fri, 07 Jun 2013 15:25:29 +0200

Rasmus <address@hidden> writes:

> Nicolas Goaziou <address@hidden> writes:

>> I suggest to use something like this instead:
>>
>>   (mapconcat (lambda (option) (if (equal "AUTO" option) language option))
>>              (cond ((member language options) (delete "AUTO" options))
>>                    ((member "AUTO" options) options)
>>                    (t (append options (list language)))))
>>
>
> It looks more elegant.  I'll try to incorporate it and prepare a v4.

OK. But I forgot to add "," as mapconcat's third argument.

>> Why do you need to use a non-nil FIXEDCASE argument here?
>
> When I don't 
>
> #+LANGUAGE: en
> #+LATEX_HEADER: \usepackage[AUTO]{babel}
>
> becomes 
>
> \usepackage[ENGLISH]{babel}. . .

Good point.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]