reza writes:
>> You may create a function similar to `org-publish-sitemap-default' but
>
>> using `org-list-to-subtree' instead of `org-list-to-org'
>
> Thanks for the pointers, but I can't figure out how to get from there to
> a toc? As I understand, `list' is a list of files from my project an
> You just need a custom :sitemap-function.
> The default `org-publish-sitemap-default' flattens the hierarchy.
>
> From the manual:
>
> ‘:sitemap-function’
> Plug-in function to use for generation of the sitemap. It is
> called with two arguments: the title of the site-map and a
>
>> 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).
>
> See also info "(org) Using the Mapping API"
> https://orgmode.org/manual/Using-the-Mapping-API.html
> for `org-map-entries'.
Thanks fo
> 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
reza writes:
> 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?
You just need a custom :sitemap-function.
The default `org-publish-sitemap-default' flatte
> Maybe the org-make-toc package can help you with what you're looking for:
>
> https://github.com/alphapapa/org-make-toc
>
> You can choose a heading on every document to contain a TOC. And then link
> each heading via org-transclusion:
>
> https://github.com/nobiot/org-transclusion
Thanks fo
reza writes:
> Hi list
>
> 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.
I presume that you are attempting to export multiple org fi
On 26/09/2022 22:21, Max Nikulin wrote:
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-elemen
reza writes:
> 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.
Maybe the org-make-toc package can help you with what you're looking for:
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
10 matches
Mail list logo