When I use makeindex and try to index a word using
Hello \index{World}
the entry in the generated \printindex looks like
indexfile, 7
instead of
World, 7
-- This issue also happens when using World\index{World}.
The error seems to be somewhere before creating the .idx, as it looks like this
doc.idx
\indexentry{\@indexfile |hyperpage}{7}
doc.ind
\begin{theindex}
\item indexfile , \hyperpage{7}
\end{theindex}
Used packages
\usepackage{geometry}
\usepackage{ngerman}
\usepackage[latin1]{inputenc}
\usepackage{fancyhdr}
\usepackage{makeidx}
\usepackage{showidx}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{setspace}
\usepackage{listings}
\usepackage{color}
\usepackage{hyperref}

