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/DUsidebar/DUsidebar.sty | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty')

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

