[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] ox-koma bug in subtree export
From: |
Suvayu Ali |
Subject: |
Re: [O] ox-koma bug in subtree export |
Date: |
Wed, 15 Jul 2015 23:13:17 +0200 |
User-agent: |
Mutt/1.5.23.1 (2014-03-12) |
On Wed, Jul 15, 2015 at 01:46:59PM +0200, Rasmus wrote:
> Suvayu Ali <address@hidden> 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.
- [O] ox-koma bug in subtree export, Suvayu Ali, 2015/07/15
- Re: [O] ox-koma bug in subtree export, Suvayu Ali, 2015/07/15
- Re: [O] ox-koma bug in subtree export, Rasmus, 2015/07/15
- Re: [O] ox-koma bug in subtree export,
Suvayu Ali <=
- Re: [O] ox-koma bug in subtree export, Rasmus, 2015/07/15
- Re: [O] ox-koma bug in subtree export, Suvayu Ali, 2015/07/16
- Re: [O] ox-koma bug in subtree export, Rasmus, 2015/07/16
- Re: [O] ox-koma bug in subtree export, Suvayu Ali, 2015/07/16
- Re: [O] ox-koma bug in subtree export, Rasmus, 2015/07/16
- Re: [O] ox-koma bug in subtree export, Suvayu Ali, 2015/07/16
- Re: [O] ox-koma bug in subtree export, Rasmus, 2015/07/16
- Re: [O] ox-koma bug in subtree export, Suvayu Ali, 2015/07/17