toc-level -> toc-depth.
This commit is contained in:
parent
9575f4f56f
commit
25ad173f00
2 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ $endfor$
|
|||
$if(toc)$
|
||||
{
|
||||
\hypersetup{linkcolor=black}
|
||||
\setcounter{tocdepth}{$toc-level$}
|
||||
\setcounter{tocdepth}{$toc-depth$}
|
||||
\tableofcontents
|
||||
}
|
||||
$endif$
|
||||
|
|
|
@ -27,7 +27,7 @@ $include-before$
|
|||
$endfor$
|
||||
$if(toc)$
|
||||
.. contents::
|
||||
:depth: $toc-level$
|
||||
:depth: $toc-depth$
|
||||
..
|
||||
|
||||
$endif$
|
||||
|
|
Loading…
Add table
Reference in a new issue