From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viktor Rosenfeld Subject: Re: [BUG] [contrib/org-koma-letter.el] #+DATE and #+TO_ADDRESS picked up from outside the current subtree Date: Sat, 29 Dec 2012 20:18:27 +0100 Message-ID: <20121229191827.GB33275@kenny.fritz.box> References: <20121228223805.GA4659@kenny.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tp1vZ-0003wh-Ad for emacs-orgmode@gnu.org; Sat, 29 Dec 2012 14:18:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tp1vY-0000vq-DP for emacs-orgmode@gnu.org; Sat, 29 Dec 2012 14:18:37 -0500 Received: from mail-bk0-f49.google.com ([209.85.214.49]:41426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tp1vY-0000vj-5i for emacs-orgmode@gnu.org; Sat, 29 Dec 2012 14:18:36 -0500 Received: by mail-bk0-f49.google.com with SMTP id jm19so5132601bkc.36 for ; Sat, 29 Dec 2012 11:18:31 -0800 (PST) Content-Disposition: inline In-Reply-To: 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@gnu.org Hi Alan, Alan Schmitt wrote: > If you want subtree exporting, the information should be in a > :PROPERTIES: drawer at the beginning of the thing to export. Here is > what I did for a recent letter: > > #+BEGIN_SRC org > ****** Lettre d'Accueil pour ... > :PROPERTIES: > :EXPORT_LATEX_CLASS: my-inria-fr-letter > :EXPORT_LCO: InriaRennesFR > :EXPORT_OPENING: ~ > :EXPORT_CLOSING: ~ > :END: > > text text ... > #+END_SRC > > Note that in such drawers, the name of the option has "EXPORT_" before it. Of course! I know that, but I got confused while trying out the new exporter. Thanks, anyway. As an aside, what's the purpose of wrapping the letter in an org-mode source block? Or did you just do that to wrap the example in the e-mail? Cheers, Viktor