From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viktor Rosenfeld Subject: Re: [PATCH][ox-koma-letter]: sender, email and cleanup Date: Mon, 27 May 2013 20:31:27 +0200 Message-ID: <20130527183127.GB1422@kenny.local> References: <87hahrmabq.fsf@pank.eu> <20130525170322.GA734@kenny.local> <87bo7zlzln.fsf_-_@pank.eu> <20130526105400.GA716@kenny.local> <87wqqliz9y.fsf@pank.eu> <51A325C7.1020900@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uh2Cm-0006of-ED for emacs-orgmode@gnu.org; Mon, 27 May 2013 14:31:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uh2Cj-00009z-SP for emacs-orgmode@gnu.org; Mon, 27 May 2013 14:31:36 -0400 Received: from mail-bk0-x22d.google.com ([2a00:1450:4008:c01::22d]:56940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uh2Cj-00009Y-MQ for emacs-orgmode@gnu.org; Mon, 27 May 2013 14:31:33 -0400 Received: by mail-bk0-f45.google.com with SMTP id je9so3165697bkc.32 for ; Mon, 27 May 2013 11:31:32 -0700 (PDT) Content-Disposition: inline In-Reply-To: <51A325C7.1020900@gmail.com> 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: Xavier Garrido Cc: Alan Schmitt , emacs-orgmode@gnu.org, Rasmus Hi Xavier, Xavier Garrido wrote: > Hi koma-letterers, > > >>Patches: > >> > >>1. summarizes all changes in author. It uses my solution as mentioned above. > >>2. full support for after closing keywords. See commit message > >>3. signature to nil > >>4. change handling of subject and allow for setting subject in > >>OPTION-line. > > > >I'm going to apply the patches. Thanks to both of you for the nice work! > > I just update Org/git and install ox-koma-letter lisp file. I have a > strange behavior with EMAIL keyword since there will be always a > =\setkomavar{fromemail}= command in my LaTeX produced file even if > there is no #+EMAIL: keyword on top of my org file. This is slightly > different from what I get when I write or not #+AUTHOR: keyword : the > =\setkomavar{fromname}= naturally disappears if AUTHOR is not > written. > > I do not want to write every time my email in org file header since > it is already set in a lco file. But given this problem, the email is > always overloaded when exporting to latex/pdf. Please check the values of `org-koma-letter-email' and `org-koma-letter-author'. They should be set to nil if you have these settings defined in an LCO file and do not want to set them in the generated TeX sources. I use such a setup and the latest master branch is working for me. Cheers, Viktor > > I had a look into ox-koma-letter script and even if I saw small > differences when dealing with AUTHOR and EMAIL keywords, I am not > able to solve solve this discrepancy. > > Xavier > > PS: except from this little problem, it works like a charm, so thanks a lot. >