From 5cbc55fc463e6ffcd9e3d6c9f4585ca8345dd82c Mon Sep 17 00:00:00 2001 From: Yann Salmon Date: Sat, 13 Oct 2018 09:02:54 +0200 Subject: [PATCH] =?UTF-8?q?ne=20pas=20importer=20les=20labels=20de=20fin?= =?UTF-8?q?=20de=20page=20depuis=20le=20.aux=20de=20l'=C3=A9nonc=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- latex/inputTD.tex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/latex/inputTD.tex b/latex/inputTD.tex index e80b84e..c0b3344 100644 --- a/latex/inputTD.tex +++ b/latex/inputTD.tex @@ -58,7 +58,13 @@ \newenvironment{qcmcorr}{\begin{mdframed}[backgroundcolor=gray!20, skipbelow=1ex]}{\end{mdframed}} \avecenonce \else\ifcorrigeseul + \let\real@xwmlastpage\r@xwmlastpage % ne pas écraser ces labels depuis le fichier externe + \let\real@lastpage\r@lastpage + \let\r@xwmlastpage\relax + \let\r@lastpage\relax \externaldocument{\basejobname-ENONCE} + \let\r@xwmlastpage\real@xwmlastpage + \let\r@lastpage\real@lastpage \immediate\typeout{Mode corrige} \makeatletter\IfStrEq{\@subtitle}{}{}{\subtitle{Corrigé}}\makeatother \pasenonce