templates/latex/layout.tex.erb in review-2.3.0 vs templates/latex/layout.tex.erb in review-2.4.0
- old
+ new
@@ -9,11 +9,11 @@
\usepackage[deluxe]{otf}
<%- end -%>
\usepackage{caption}
\usepackage{suffix}
\usepackage[T1]{fontenc}\usepackage{textcomp}%T1/TS1
-% \usepackage{lmodern}
+\usepackage{lmodern}
\usepackage[dvipdfmx]{graphicx}
\usepackage[dvipdfmx,table]{xcolor}%requires colortbl, array
\usepackage{framed}
\usepackage{wrapfig}
\definecolor{shadecolor}{gray}{0.9}
@@ -310,10 +310,10 @@
%% preface
<%= @input_files["PREDEF"] %>
<%- if @config["toc"] -%>
-\setcounter{tocdepth}{<%= @config["toclevel"] %>}
+\setcounter{tocdepth}{<%= @config["toclevel"] - 1 %>}
\tableofcontents
<%- end -%>
\renewcommand{\chaptermark}[1]{\markboth{\prechaptername\thechapter\postchaptername~#1}{}}
\mainmatter