From 25ad173f00bc7e07c72468deb1d955f707aeaea0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 5 Jan 2013 11:58:09 -0800 Subject: [PATCH] toc-level -> toc-depth. --- default.latex | 2 +- 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$