Hi,
Suvayu Ali <[email protected]> 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:
> 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
> 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....]
Rasmus
--
C is for Cookie