From b516bade4371e13f1d0d74e1a1b566ff7eb661a6 Mon Sep 17 00:00:00 2001 From: Yann Salmon Date: Tue, 3 Nov 2020 13:17:37 +0100 Subject: [PATCH] Durcissement du fix. --- latex/paquets.sty | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/latex/paquets.sty b/latex/paquets.sty index 036ca0f..e81e1f4 100644 --- a/latex/paquets.sty +++ b/latex/paquets.sty @@ -123,9 +123,13 @@ tex.print([[\addbibresource{]]..dirname(status["filename"])..[[commun.bib}]]) %%% https://github.com/latex3/latex2e/issues/411#issuecomment-708434918 % catoptions patch (no guarantee that will work): % must be applied before loading catoptions +%%% https://tex.stackexchange.com/a/26229 +\newcommand*\@iflatexlater{\@ifl@t@r\fmtversion} +\@iflatexlater{2020/10/01}{% \def\FIXcatoptions\endgroup#1\begingroup{#1} \AddToHook{package/after/catoptions} - {\gleftaddtocs\document{\FIXcatoptions}} + {\gleftaddtocs\document{\FIXcatoptions}}% +}{} \RequirePackage[os=win]{menukeys} %% charge catoptions \renewmenumacro{\keys}{shadowedangularkeys} \renewmenumacro{\directory}{hyphenatepathswithblackfolder}