emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] koma export and order of options


From: Nicolas Goaziou
Subject: Re: [O] koma export and order of options
Date: Wed, 09 Sep 2015 22:59:15 +0200

Hello,

Alan Schmitt <address@hidden> writes:

> I’m trying to write a letter where I override settings from the lco with
> the options line. Here is what the lco looks like:
>
> \ProvidesFile{InriaRennesEN.lco}
>
> \usepackage[english]{babel}
> \usepackage{xltxtra}
>
> \KOMAoption{fromalign}{right}
>
> \setkomavar{fromname}{Alan Schmitt}
> \setkomavar{fromaddress}{Celtique Project\\Inria Rennes}
> \setkomavar{place}{Rennes}
> address@hidden
>
> \endinput
>
> I don’t want the email nor the place, so I have these options in
> my letter:
>
> #+latex_class: my-letter
> #+lco: InriaRennesEN
> #+options: place:nil email:nil
>
> Unfortunately the latex code generated sets these options before loading
> the lco:
>
> \KOMAoption{fromemail}{false}
> \KOMAoption{fromphone}{false}
> \KOMAoption{backaddress}{false}
> \setkomavar{place}{}
> \KOMAoptions{foldmarks=true}
> \LoadLetterOption{InriaRennesEN}
>
> I thought that local options would override the ones from the lco. Is
> there something I’m doing wrong here for it to fail? (I tried reading
> the code, but I don’t understand how `org-koma-letter--build-settings'
> is supposed to work.)

I think I fixed a bug in that area. Could you update Org and try again?

Regards,

-- 
Nicolas Goaziou



reply via email to

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