From 2226229819abfffd8bd0b4a9247e566f815b509a Mon Sep 17 00:00:00 2001 From: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")> Date: Thu, 23 Apr 2015 17:16:13 +0200 Subject: [PATCH] Add instruction for how to insert TOC wherever wished --- README.html | 5 +++++ README.org | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/README.html b/README.html index f2bae26..d0624dd 100755 --- a/README.html +++ b/README.html @@ -462,6 +462,11 @@ My document provides...

The ALT_TITLE property allows to set an alternate title (shorter, for example) for a given headline in the table of contents and other running heads.

+

To insert the TOC at some random place, use:

+
+
+#+TOC: headlines 2
+
diff --git a/README.org b/README.org index adeb9d9..85eceb8 100755 --- a/README.org +++ b/README.org @@ -115,6 +115,12 @@ The ~ALT_TITLE~ property allows to set an alternate title (shorter, for example) for a given headline in the table of contents and other running heads. #+end_note +To insert the TOC at some random place, use: + +#+begin_src org :eval never-export +,#+TOC: headlines 2 +#+end_src + ** List of figures ~#+TOC: figures~ is not implemented yet in the HMTL backend.