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)$
|
$if(toc)$
|
||||||
{
|
{
|
||||||
\hypersetup{linkcolor=black}
|
\hypersetup{linkcolor=black}
|
||||||
\setcounter{tocdepth}{$toc-level$}
|
\setcounter{tocdepth}{$toc-depth$}
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
}
|
}
|
||||||
$endif$
|
$endif$
|
||||||
|
|
|
@ -27,7 +27,7 @@ $include-before$
|
||||||
$endfor$
|
$endfor$
|
||||||
$if(toc)$
|
$if(toc)$
|
||||||
.. contents::
|
.. contents::
|
||||||
:depth: $toc-level$
|
:depth: $toc-depth$
|
||||||
..
|
..
|
||||||
|
|
||||||
$endif$
|
$endif$
|
||||||
|
|
Loading…
Add table
Reference in a new issue