From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Strey Subject: Re: [patch] ox-koma-letter Date: Thu, 28 Feb 2013 16:19:12 +0100 Message-ID: <20130228151912.GZ24632@strey.biz> References: <87vc9gkund.fsf@pank.eu> <20130226123819.GQ24632@strey.biz> <87mwuqg4ln.fsf@pank.iue.private> <20130227105102.GV24632@strey.biz> <87wqtudkey.fsf@pank.iue.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB5GZ-0003TP-6x for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 10:19:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UB5GT-0007cd-M0 for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 10:19:27 -0500 Received: from mx2.supremebox.com ([198.23.53.42]:38881 helo=mx11.supremebox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB5GT-0007cL-Ib for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 10:19:21 -0500 Received: from [77.5.245.128] (helo=localhost) by mx11.supremebox.com with esmtpa (Exim 4.80) (envelope-from ) id 1UB5GS-0004xg-Cs for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 15:19:20 +0000 Content-Disposition: inline In-Reply-To: <87wqtudkey.fsf@pank.iue.private> 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@gnu.org Rasmus, On Wed, Feb 27, 2013 at 01:13:25PM +0100, Rasmus wrote: [...] > In fact to use the scrlttr2 support in Org I had to adjust a LCO files > because it's currently loaded after LATEX_HEADER arguments (so all > customization was overwritten). I didn't like that. After this remark I checked my changes and compared them with the default code and behaviour of ox-koma-letter with the result that I reverted all of my deletions. The mentioned feature provides just the right hierarchy for my use case. - LCO overrides everything - options in the file override options in customization - options in customization override defaults in ox-koma-letter Nevertheless I agree that the "nil check" solution would allow more flexibility. [...] > > Maybe we should write a user guide *before* further implementation > > steps. > > I agree. A "question zero" is whether we eventually want to have an > org-letter which could, in principle, output to something different > than scrlttr2. IMO one *good* solution for writing letters is enough. scrlttr2 is perfect for me and covers at least European conventions about how letters should look like. I don't know which LaTeX classes people from other parts of the globe prefer. At least we should try to make the user interface (the list of variables) universal enough to cover other classes as well. > Other things: > > - Cleaning defaults > - Only insert KOMAVARs when non-nil. > - Which variables to include. E.g. Michael's list vs. every > komavar. > - consider the order of KOMAVARs, e.g. do we really want > LATEX_HEADER before LCO-like stuff? Do we want a KOMA_HEADER > (or LETTER_HEADER) which comes after LCO? > > What to you think? Good plan. I will provide you with the last version of my modification by PM and write a How To. Best regards -- Michael Strey www.strey.biz