From 119b97180428d4db93ab8deb973a98f932bddbb9 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Mon, 29 Feb 2016 11:29:07 +0900 Subject: [PATCH] update doc: LaTeX writer now refers maxdepth option (ref #2358) --- doc/markup/toctree.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/markup/toctree.rst b/doc/markup/toctree.rst index ff0af7535..e089115a0 100644 --- a/doc/markup/toctree.rst +++ b/doc/markup/toctree.rst @@ -223,11 +223,8 @@ The special document names (and pages generated for them) are: .. rubric:: Footnotes -.. [#] The ``maxdepth`` option does not apply to the LaTeX writer, where the - whole table of contents will always be presented at the begin of the - document, and its depth is controlled by the ``tocdepth`` counter, which - you can reset in your :confval:`latex_preamble` config value using - e.g. ``\setcounter{tocdepth}{2}``. +.. [#] The LaTeX writer only refers the ``maxdepth`` option of first toctree + directive in the document. .. [#] A note on available globbing syntax: you can use the standard shell constructs ``*``, ``?``, ``[...]`` and ``[!...]`` with the feature that