Hello, Alan Schmitt <alan.schm...@polytechnique.org> 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} > \setkomavar{fromemail}{alan.schm...@inria.fr} > > \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