From c9fc4c03e885488e2a8765449b921edcebae1992 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 17 Feb 2024 14:34:48 +0100 Subject: [PATCH] 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 Link: https://orgmode.org/list/dd0ae51d-7d56-0ff6-5eb1-3786464adfe3@arfer.net --- doc/org-manual.org | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 4f414ea9d..2be6c92cd 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -12417,11 +12417,11 @@ value. #+end_example #+cindex: @samp{TOC}, keyword -Org normally inserts the table of contents directly before the first -headline of the file. To move the table of contents to a different -location, first turn off the default with ~org-export-with-toc~ -variable or with =#+OPTIONS: toc:nil=. Then insert =#+TOC: headlines -N= at the desired location(s). +Org normally inserts the table of contents in front of the exported +document. To move the table of contents to a different location, +first turn off the default with ~org-export-with-toc~ variable or with +=#+OPTIONS: toc:nil=. Then insert =#+TOC: headlines N= at the desired +location(s). #+begin_example ,#+OPTIONS: toc:nil