aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-01-05 11:58:09 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-01-05 11:58:09 -0800
commit25ad173f00bc7e07c72468deb1d955f707aeaea0 (patch)
treef0d5ed14bbf4e9d64b7806e0eadd196bfed8380b
parent9575f4f56f6c59776938dfcfce7e284055937298 (diff)
downloadpandoc-25ad173f00bc7e07c72468deb1d955f707aeaea0.tar.gz
toc-level -> toc-depth.
-rw-r--r--default.latex2
-rw-r--r--default.rst2
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$