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)$ $if(toc)$
{ {
\hypersetup{linkcolor=black} \hypersetup{linkcolor=black}
\setcounter{tocdepth}{$toc-level$} \setcounter{tocdepth}{$toc-depth$}
\tableofcontents \tableofcontents
} }
$endif$ $endif$

View file

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