emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

local toc automatic?


From: Samuel Wales
Subject: local toc automatic?
Date: Wed, 5 Feb 2020 12:21:28 -0700

i have been using toc for an entire blog post and then

  #+TOC: headlines 1 local

for sections.

this local idea is brilliant.  i can make the main toc
non-intimidating, and then provide a toc for sections.

is it possible to do this automatically?

that is, supply only one main toc, and specify that if there are any
entries that are 2 levels below it, a toc should be created 1 level
below it to list them?

* a
#+TOC: headlines 1
** b
** c
#+TOC: headlines 1 local
*** d
*** e

i am proposing to eliminate the need to manually enter the toc for c
in the examlpe above.

-- 
The Kafka Pandemic

What is misopathy?
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html

The disease DOES progress. MANY people have died from it. And ANYBODY
can get it at any time.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]