From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: ox-koma bug in subtree export Date: Wed, 15 Jul 2015 13:28:52 +0200 Message-ID: <20150715112852.GJ18343@chitra.no-ip.org> References: <20150715112057.GI18343@chitra.no-ip.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0F1p//8PRICkK4MW" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFKrx-0008Ug-FV for emacs-orgmode@gnu.org; Wed, 15 Jul 2015 07:28:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFKrw-0000Kn-Jc for emacs-orgmode@gnu.org; Wed, 15 Jul 2015 07:28:57 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:35018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFKrw-0000K9-By for emacs-orgmode@gnu.org; Wed, 15 Jul 2015 07:28:56 -0400 Received: by wiga1 with SMTP id a1so126089473wig.0 for ; Wed, 15 Jul 2015 04:28:55 -0700 (PDT) Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by smtp.gmail.com with ESMTPSA id df1sm26228453wib.12.2015.07.15.04.28.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jul 2015 04:28:54 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20150715112057.GI18343@chitra.no-ip.org> 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 Org mode --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jul 15, 2015 at 01:20:57PM +0200, Suvayu Ali wrote: > > I'm using subtree export to write letters using ox-koma. Everything > works except, all the closing statements from different subtrees get > accumulated when I export one of the subtrees. > > So with the attached Org file, when I export either of the subtrees, I > get a closing line like this: \closing{Regards, Kind Regards,}. > > This used to work before. That said, I never found it quite consistent > when using `#+closing:'. I would have thought one should use a headline > like: to, enclosed, etc. > > Is this a bug? Of course I forgot to attach the file! -- Suvayu Open source is the future. It sets us free. --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="koma-bug.org" * letter 1 :PROPERTIES: :EXPORT_FILE_NAME: letter_1.pdf :EXPORT_LATEX_CLASS: scrlttr2 :EXPORT_OPTIONS: ':t foldmarks:nil :EXPORT_TITLE: :EXPORT_SUBJECT: Some subject :EXPORT_LCO: DIN :END: ** To :to: Mr. Foo Bar Some place, Else ** Dear Mr. Bar, Lots of stuff #+closing: Regards, * letter 2 :PROPERTIES: :EXPORT_FILE_NAME: letter_2.pdf :EXPORT_LATEX_CLASS: scrlttr2 :EXPORT_OPTIONS: ':t foldmarks:nil :EXPORT_TITLE: :EXPORT_SUBJECT: Some other subject :EXPORT_LCO: DIN :END: ** To :to: Miss Foo Baz Some place, Else ** Dear Miss Baz, Lot more stuff #+closing: Kind Regards, --0F1p//8PRICkK4MW--