> I presume that you are attempting to export multiple org files at the > same time. Yes. > Such functionality is covered by Org publish. > Org publish allows generating a sitemap, which is another word for TOC > in a multifile export. See 14.1.7 Generating a sitemap section of Org > manual. I'm using org publish, but the sitemap does only collect the titles from org files but I want the complete toc of each file and as far as I undesrand this is not possible with sitemap? > If you are exporting a single Org file that is using contents of > multiple #+include'd files, you can use the normal TOC generation as > described in 13.3 Table of Contents section of the Org manual. But this forces all the content into a single file, no? Thanks for the suggestions!