From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: koma export and order of options Date: Wed, 09 Sep 2015 11:58:39 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZc9S-00044o-7X for emacs-orgmode@gnu.org; Wed, 09 Sep 2015 05:58:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZc9N-00072E-3u for emacs-orgmode@gnu.org; Wed, 09 Sep 2015 05:58:50 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:64800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZc9M-00071P-VF for emacs-orgmode@gnu.org; Wed, 09 Sep 2015 05:58:45 -0400 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: emacs-orgmode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I=E2=80=99m trying to write a letter where I override settings from the lco= with the options line. Here is what the lco looks like: =2D-8<---------------cut here---------------start------------->8--- \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 =2D-8<---------------cut here---------------end--------------->8--- I don=E2=80=99t want the email nor the place, so I have these options in my letter: =2D-8<---------------cut here---------------start------------->8--- #+latex_class: my-letter #+lco: InriaRennesEN #+options: place:nil email:nil =2D-8<---------------cut here---------------end--------------->8--- Unfortunately the latex code generated sets these options before loading the lco: =2D-8<---------------cut here---------------start------------->8--- \KOMAoption{fromemail}{false} \KOMAoption{fromphone}{false} \KOMAoption{backaddress}{false} \setkomavar{place}{} \KOMAoptions{foldmarks=3Dtrue} \LoadLetterOption{InriaRennesEN} =2D-8<---------------cut here---------------end--------------->8--- 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 readi= ng the code, but I don=E2=80=99t understand how `org-koma-letter--build-settin= gs' is supposed to work.) Thanks, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Last week athmospheric CO=E2=82=82 average (Updated September 6, 2015, Maun= a Loa Obs.): 377.86 ppm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJV8ALQAAoJEAQNCjtO0uXHXXUH/1vHgeEfSc7+Lbx1QaMqa5FW bTVK/AHMy4KCOEDsVnSdkGvosLKWVy2VKN5gV49aRcSTLba3k9h5qiJUk4P8lAxj eRZmIiCkC7mMkm/Q1EpdnMQgRhkHax39MUAGHA5xLJiDi3WI5UfwHE6lCoJIXvzE mAW3oBOsykZjpYdddr6jrFiF5fVOE29tkbFSeeEtAFqChjd/xHVYWXTnnjXJZDjo NZiCJZg2URWdI/7yRaQl8kCYyxS/ubiz7gLcGPDCXDKxX9iPm3X5GaHEoFcmlL/g Cg0Z4dtGANAuC5/s/gr3D7nlXrskeM7QrNzG6/J9KDGHEmbOtmEQc+xQVhQGlsM= =z+IW -----END PGP SIGNATURE----- --=-=-=--