From bdc4a15ae1c4cd72257fc5b4d9e7dc47e39acf60 Mon Sep 17 00:00:00 2001 From: Yann Salmon Date: Mon, 26 Oct 2020 19:56:14 +0100 Subject: [PATCH] =?UTF-8?q?hack=20pour=20contourner=20un=20bug=20apparu=20?= =?UTF-8?q?suite=20m=C3=A0j=20texlive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- latex/paquets.sty | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/latex/paquets.sty b/latex/paquets.sty index cf758b3..a11182d 100644 --- a/latex/paquets.sty +++ b/latex/paquets.sty @@ -119,7 +119,13 @@ tex.print([[\addbibresource{]]..dirname(status["filename"])..[[commun.bib}]]) } \hypersetup{hidelinks, hyperfootnotes=false, hyperindex=false, implicit=false, bookmarks=false, pdfpagelabels=false, breaklinks=true, pdfencoding=unicode} -\RequirePackage[os=win]{menukeys} +%%% https://github.com/latex3/latex2e/issues/411#issuecomment-708434918 +% catoptions patch (no guarantee that will work): +% must be applied before loading catoptions +\def\FIXcatoptions\endgroup#1\begingroup{#1} +\AddToHook{package/after/catoptions} + {\gleftaddtocs\document{\FIXcatoptions}} +\RequirePackage[os=win]{menukeys} %% charge catoptions \renewmenumacro{\keys}{shadowedangularkeys} \renewmenumacro{\directory}{hyphenatepathswithblackfolder} \newmenumacro{\directorysymb}[/]{hyphenatepathswithblackfolder}