diff options
-rw-r--r-- | default.latex | 2 | ||||
-rw-r--r-- | default.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/default.latex b/default.latex index c55f95266..d7b9b00c0 100644 --- a/default.latex +++ b/default.latex @@ -135,7 +135,7 @@ $endfor$ $if(toc)$ { \hypersetup{linkcolor=black} -\setcounter{tocdepth}{$toc-level$} +\setcounter{tocdepth}{$toc-depth$} \tableofcontents } $endif$ diff --git a/default.rst b/default.rst index 37106ac4e..ca9d2833d 100644 --- a/default.rst +++ b/default.rst @@ -27,7 +27,7 @@ $include-before$ $endfor$ $if(toc)$ .. contents:: - :depth: $toc-level$ + :depth: $toc-depth$ .. $endif$ |