aboutsummaryrefslogtreecommitdiff
path: root/latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty
diff options
context:
space:
mode:
Diffstat (limited to 'latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty')
-rw-r--r--latex_docutils/texmf/tex/latex/docUtils/DUsidebar/DUsidebar.sty4
1 files changed, 2 insertions, 2 deletions
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}}}