diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/book.latex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/book.latex b/templates/book.latex index b496157..90c1ff7 100644 --- a/templates/book.latex +++ b/templates/book.latex @@ -499,7 +499,7 @@ $if(colorlinks)$ \hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$black$endif$} $endif$ \setcounter{tocdepth}{$toc-depth$} - \setcounter{secnumdepth}{$toc-secnumdepth$} + \setcounter{secnumdepth}{$if(toc-secnumdepth)$$toc-secnumdepth$$else$0$endif$} \tableofcontents } $endif$ |