From 84f56c47f2673106231bf636eb933a920915bf3c Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Wed, 31 Jan 2024 18:28:35 +0100 Subject: [PATCH] lisp/ox-latex.el: improve org-latex-toc-command docstring * lisp/ox-latex.el (org-latex-toc-command): specify clearer which option settings use `org-latex-toc-command'. This shows also how to specify a table of contents depth. --- lisp/ox-latex.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index c83728a8f..7b5308b5b 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -600,8 +600,9 @@ which is replaced with the subtitle." (defcustom org-latex-toc-command "\\tableofcontents\n\n" "LaTeX command to set the table of contents, list of figures, etc. -This command only applies to the table of contents generated with -the toc:nil option, not to those generated with #+TOC keyword." +This command only applies to the table of contents generated with the +toc:t, toc:1, toc:2, toc:3, ... options, not to those generated with +the #+TOC keyword." :group 'org-export-latex :type 'string)