[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Export subtrees of level n
From: |
Michael Welle |
Subject: |
Re: [O] Export subtrees of level n |
Date: |
Sun, 03 Sep 2017 10:23:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) |
Hello,
Adam Porter <address@hidden> writes:
> Michael Welle <address@hidden> writes:
>
>> Is there an existing way to say that I want to go up to a level n
>> heading and then export, or do I have to implement that by myself?
>
> I think you'll have to do it yourself. Here are a couple of ideas:
>
> 1. Write a function to export a subtree with a specific Org ID.
>
> 2. Write a function to look up the tree from point and export the first
> subtree with a certain property.
I thought about implementing the second approach. I have slides for
several talks in the same org file. Since I mostly need this
functionality when I'm developing slides, just going up from point until
reaching the desired heading is easy to implement.
Regards
hmw