From c342d7d82e4034dbba25ec9179db118d65d0f5f4 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Sun, 8 Nov 2020 11:23:55 +0100
Subject: minted needs a temporary patch because of a bug in the current luatex
 hyphenation mechanism

---
 icite.dtx | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'icite.dtx')

diff --git a/icite.dtx b/icite.dtx
index f19675d..b426463 100644
--- a/icite.dtx
+++ b/icite.dtx
@@ -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}
-- 
cgit v1.2.3

