This commit is contained in:
Jeff Lance 2021-05-27 17:02:21 +02:00
parent dd213a7709
commit 38b946e18e

View File

@ -43,7 +43,7 @@
\RequirePackage{luatextra} % charge fontspec => fontenc \RequirePackage{luatextra} % charge fontspec => fontenc
% \defaultfontfeatures{Ligatures=TeX} % \defaultfontfeatures{Ligatures=TeX}
\else \else
\RequirePackage[francais]{babel} % => polyglossia \RequirePackage[french]{babel} % => polyglossia
\RequirePackage[utf8]{inputenc} % => fontspec \RequirePackage[utf8]{inputenc} % => fontspec
\RequirePackage[T1]{fontenc} % => fontspec \RequirePackage[T1]{fontenc} % => fontspec
% \RequirePackage[babel=true,kerning=true]{microtype} % \RequirePackage[babel=true,kerning=true]{microtype}
@ -113,7 +113,7 @@
\RequirePackage[dash]{dashundergaps} \RequirePackage[dash]{dashundergaps}
\RequirePackage{comment} \RequirePackage{comment}
\RequirePackage{caption} \RequirePackage{caption}
\RequirePackage[outputdir=./build]{minted} % \RequirePackage[outputdir=./build]{minted}
\RequirePackage{inconsolata} \RequirePackage{inconsolata}
\RequirePackage{tasks} \RequirePackage{tasks}
\RequirePackage{dashrule} \RequirePackage{dashrule}
@ -329,6 +329,7 @@
\AtBeginEnvironment{minted}{\dontdofcolorbox} \AtBeginEnvironment{minted}{\dontdofcolorbox}
\def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}} \def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
\xpatchcmd{\inputminted}{\minted@fvset}{\minted@fvset\dontdofcolorbox}{}{} \xpatchcmd{\inputminted}{\minted@fvset}{\minted@fvset\dontdofcolorbox}{}{}
%-- %--