From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: koma export and order of options Date: Wed, 09 Sep 2015 22:59:15 +0200 Message-ID: <877fnzfgws.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZmR0-0001aE-VJ for emacs-orgmode@gnu.org; Wed, 09 Sep 2015 16:57:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZmR0-0000Fx-11 for emacs-orgmode@gnu.org; Wed, 09 Sep 2015 16:57:38 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:45401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZmQz-0000Fl-QW for emacs-orgmode@gnu.org; Wed, 09 Sep 2015 16:57:37 -0400 In-Reply-To: (Alan Schmitt's message of "Wed, 09 Sep 2015 11:58:39 +0200") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alan Schmitt Cc: emacs-orgmode Hello, Alan Schmitt writes: > I=E2=80=99m trying to write a letter where I override settings from the l= co 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.schmitt@inria.fr} > > \endinput > > I don=E2=80=99t 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=3Dtrue} > \LoadLetterOption{InriaRennesEN} > > I thought that local options would override the ones from the lco. Is > there something I=E2=80=99m doing wrong here for it to fail? (I tried rea= ding > the code, but I don=E2=80=99t understand how `org-koma-letter--build-sett= ings' > is supposed to work.) I think I fixed a bug in that area. Could you update Org and try again? Regards, --=20 Nicolas Goaziou