Add instruction for how to insert TOC wherever wished

pull/2/head
Fabrice Niessen 2015-04-23 17:16:13 +02:00
parent fdd912dc80
commit 2226229819
2 changed files with 11 additions and 0 deletions

View File

@ -462,6 +462,11 @@ My document provides...
<div class="note">
<p>The <code>ALT_TITLE</code> property allows to set an alternate title (shorter, for example) for a given headline in the table of contents and other running heads.</p>
</div>
<p>To insert the TOC at some random place, use:</p>
<div class="org-src-container">
<pre class="src src-org">
<span class="org-org-meta-line">#+TOC: headlines 2</span>
</pre></div>
</div>
</div>
<div id="outline-container-orgheadline8" class="outline-3">

View File

@ -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.