toc-level -> toc-depth.

This commit is contained in:
John MacFarlane 2013-01-05 11:58:09 -08:00
parent 9575f4f56f
commit 25ad173f00
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@ $endfor$
$if(toc)$
{
\hypersetup{linkcolor=black}
\setcounter{tocdepth}{$toc-level$}
\setcounter{tocdepth}{$toc-depth$}
\tableofcontents
}
$endif$

View file

@ -27,7 +27,7 @@ $include-before$
$endfor$
$if(toc)$
.. contents::
:depth: $toc-level$
:depth: $toc-depth$
..
$endif$