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