fix(template): do not paginate at TOC, page 2

This commit is contained in:
Olivier DOSSMANN 2025-02-18 16:30:28 +01:00
parent b9a3db4413
commit 8162ff64d8

View File

@ -454,7 +454,7 @@ $if(toc)$
% Reprise de la pagination
\pagenumbering{arabic}
% Démarre la pagination à 1
\setcounter{page}{0}
\setcounter{page}{-1}
$if(toc-title)$
\renewcommand*\contentsname{$toc-title$}
$endif$
@ -472,6 +472,7 @@ $if(colorlinks)$
$endif$
\setcounter{tocdepth}{$toc-depth$}
\tableofcontents
\thispagestyle{empty}
}
$endif$
$endif$