org-manual: Fix inaccuracy about TOC placement
* doc/org-manual.org (Table of Contents): Clarify that TOC is placed at the beginning of the file, not "before first heading". If there is a text before first heading, TOC will be placed before that text. Reported-by: Kodi Arfer <kodi@arfer.net> Link: https://orgmode.org/list/dd0ae51d-7d56-0ff6-5eb1-3786464adfe3@arfer.net
This commit is contained in:
parent
1cca1967e9
commit
c9fc4c03e8
|
@ -12417,11 +12417,11 @@ value.
|
||||||
#+end_example
|
#+end_example
|
||||||
|
|
||||||
#+cindex: @samp{TOC}, keyword
|
#+cindex: @samp{TOC}, keyword
|
||||||
Org normally inserts the table of contents directly before the first
|
Org normally inserts the table of contents in front of the exported
|
||||||
headline of the file. To move the table of contents to a different
|
document. To move the table of contents to a different location,
|
||||||
location, first turn off the default with ~org-export-with-toc~
|
first turn off the default with ~org-export-with-toc~ variable or with
|
||||||
variable or with =#+OPTIONS: toc:nil=. Then insert =#+TOC: headlines
|
=#+OPTIONS: toc:nil=. Then insert =#+TOC: headlines N= at the desired
|
||||||
N= at the desired location(s).
|
location(s).
|
||||||
|
|
||||||
#+begin_example
|
#+begin_example
|
||||||
,#+OPTIONS: toc:nil
|
,#+OPTIONS: toc:nil
|
||||||
|
|
Loading…
Reference in New Issue