From e25dd4b9db3f1aeea2e32782b772d749b8c3ad30 Mon Sep 17 00:00:00 2001
From: Sébastien Dailly <sebastien@dailly.me>
Date: Thu, 29 Dec 2022 09:29:34 +0100
Subject: Update latex styles

---
 latex_docutils/texmf/tex/latex/docUtils/DUStyle/DUStyle.sty     | 3 ++-
 latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

(limited to 'latex_docutils')

diff --git a/latex_docutils/texmf/tex/latex/docUtils/DUStyle/DUStyle.sty b/latex_docutils/texmf/tex/latex/docUtils/DUStyle/DUStyle.sty
index cd5a40e..666d703 100644
--- a/latex_docutils/texmf/tex/latex/docUtils/DUStyle/DUStyle.sty
+++ b/latex_docutils/texmf/tex/latex/docUtils/DUStyle/DUStyle.sty
@@ -46,7 +46,8 @@
     linecolor=#1,
     linewidth=3pt,
     skipabove=0.5cm,
-    backgroundcolor=DUStyle@lightGray]%
+    %backgroundcolor=DUStyle@lightGray
+    ]%
     #2
   \end{mdframed}
 }
diff --git a/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty b/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty
index f1f6543..d4e709e 100644
--- a/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty
+++ b/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty
@@ -4,6 +4,7 @@
 \RequirePackage{kvoptions}
 \RequirePackage{mdframed}
 \RequirePackage{ifthen}
+\RequirePackage{makeidx}
 
 % Option for the color line (
 \DeclareStringOption {linecolor}[blue]
@@ -54,5 +55,4 @@
 %   .. role:: index
 %
 %   :index:`Terme`
-\newcommand{\DUroleindex}[1]{\marginpar{\texttt{#1}}}
-
+\newcommand{\DUroleindex}[1]{\index{#1}\marginpar{\texttt{#1}}}
-- 
cgit v1.2.3