I want index entries to be visible in the margins. We are using the indexpackage for multiple indexes. This package provides the option to display the index entries in the margin. For some cases I get a black box. I do not want to disable the black boxes all together since they are needed for normal text, but I do not want to see them with the index entries. Is there a way to disable them locally?
\documentclass[draft]{scrbook}
\usepackage[ papersize={170mm,240mm}
,top=27.4mm
,inner=20mm
,outer=25mm
,marginparwidth=50pt
]{geometry}
\usepackage{index}
\makeindex
\proofmodetrue
\begin{document}
~
\newpage
This is some text and there is some index\index{package!lsp-gb4e} entry.
\end{document}
Edit: An alternative would be to make LaTeX break these long items in the margin and put them into two lines. Is this possible?


drafttofinal. It's just there to alert you to the problem. – Ingmar Dec 06 '13 at 10:53finalversion as well. I want to be indraftmode and see the black boxes for normal text, but not in the margins. Actually the boxes are not in the margins but cover the main text. This is the reason why I want to get rid of them. – Stefan Müller Dec 06 '13 at 11:10