On Wed, Jul 15, 2015 at 01:46:59PM +0200, Rasmus wrote: > Suvayu Ali <fatkasuvayu+li...@gmail.com> writes: > > > 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,}. > > For your purpose you can add an :export_closing: property to your > top-level heading. > > * letter 1 > :PROPERTIES: > :export_subject: Some subject > :export_closing: Regards, > :END:
Great, this works very well. > > 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. > > Maybe: > > * Regards, :closing: > Signature Something like that would be a lot more logical indeed. > > Is this a bug? > > From you example, I'd say 'no'. Keywords are shared. E.g. if you have > > #+latex_header: my important package > > You'd want it to be loaded even when using a subtree. > [OTOH, #+title is changed in subtree export....] Hmm, makes sense. I wonder how it was working though. Thanks a lot. -- Suvayu Open source is the future. It sets us free.