|
From: | Max Nikulin |
Subject: | Re: Extract toc from org file |
Date: | Mon, 26 Sep 2022 22:21:22 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 26/09/2022 18:53, reza wrote:
Is there a way to extract a toc from an org file e.g: #+INCLUDE: myfile.org :toc only I want to assemble the toc's from several files into one file and there seems to be no easy way to do this.
Likely `org-element-map' allows to extract headings. There are should be some example in the mail list archive and at worg (hacks, perhaps in FAQ).
[Prev in Thread] | Current Thread | [Next in Thread] |