From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viktor Rosenfeld Subject: Re: [PATCH] Improve configurability of ox-koma-letter Date: Sun, 5 May 2013 15:30:36 +0200 Message-ID: <20130505133036.GC2898@kenny.local> References: <20130421175957.GA7821@cartman> <878v4adh12.fsf@pank.eu> <20130422112728.GE7821@cartman> <8738uidaxh.fsf@pank.eu> <20130422192216.GD725@kenny.fritz.box> <8738ugdc93.fsf@pank.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYz1b-0005Pn-VC for emacs-orgmode@gnu.org; Sun, 05 May 2013 09:30:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYz1V-0007Lo-D3 for emacs-orgmode@gnu.org; Sun, 05 May 2013 09:30:47 -0400 Received: from mail-bk0-x22a.google.com ([2a00:1450:4008:c01::22a]:32859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYz1U-0007LM-SC for emacs-orgmode@gnu.org; Sun, 05 May 2013 09:30:41 -0400 Received: by mail-bk0-f42.google.com with SMTP id j4so1268738bkw.1 for ; Sun, 05 May 2013 06:30:40 -0700 (PDT) Content-Disposition: inline In-Reply-To: <8738ugdc93.fsf@pank.eu> 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: Rasmus Cc: emacs-orgmode@gnu.org Hi Rasmus, Rasmus wrote: > Viktor, > > >> >> In a similar spirit to subject is firsthead. First head is displayed > >> >> by default in scrlttr2 as far as I recall, which is annoying. > >> > > >> > Is firsthead something that you change on a letter-by-letter basis? Or > >> > do you configure it once for your letters and never change it? In the > >> > latter case the configuration can be moved of to an LCO file. In the > >> > former case an option would be nice. I had to actually change the > >> > options I introduced so far for different letters (e.g., I don't want > >> > foldmarks if I send the letter by email). > >> > >> How I use scrlttr2: I rarely use firsthead as I find ugly. I use > >> firstfoot all of the time and I change it regularly. E.g. for some > >> letters I include bank addresse. Still, I see your point. > > > > So firsthead would be a boolean export option whereas firstfood would be > > a variable to set its content? I can see the use. > > Both take whatever LaTeX you'll throw at them (within reasons) so > neither is boolean. I use a table with varying information for my > firstfoot and nothing for my first head, but if you had a business > letter you'd maybe have a logo up there or what not. But again, the > question is whether it should be a LCO file or Org. > > One thing I'd like to do when time permits is to make a firstfood > argument that takes a table name as an input, simply because tables > are much nicer to work with in Org. But again it might be an > overkill. . . I've thought about it and do not think it is a good idea to introduce specific options for firstfoot and so on. Since firstfoot can take arbitrary TeX-Code, setting it in the Org file can quickly become cumbersome. And a footer containing banking information is fairly consistent, so it can be set in an optional LCO file. I've used this as an example in the tutorial on Worg. (I pushed the tutorial today, but it's not published yet.) Cheers, Viktor > > –Rasmus > > -- > . . . It begins of course with The Internet. A Net of Peers. >