minted needs a temporary patch because of a bug in the current luatex hyphenation mechanism

This commit is contained in:
Robert Alessi 2020-11-08 11:23:55 +01:00
parent ce473df703
commit c342d7d82e
1 changed files with 7 additions and 0 deletions

View File

@ -243,6 +243,13 @@
\usepackage{relsize}
\usepackage{units}
\usepackage{minted}
\makeatletter
\patchcmd{\minted@checkstyle}{\minted@input{%
\minted@outputdir\minted@cachedir/\ifstrempty{#1}{default-pyg-prefix}{#1}.pygstyle}%
}{\minted@input{%
\minted@outputdir\minted@cachedir/\ifstrempty{#1}{default-pyg-prefix}{#1}.pygstyle}%
\def\PYGZhy{\mbox{\char`\-}}}{}{}
\makeatother
\usepackage[contents]{colordoc}
\newcommand{\package}[1]{\textsf{#1}\index{#1=#1 (package)}}
\usepackage{tikz}