# No index appears

I have the following problem: my dissertation consists of a master document that contains the preamble and of several parts which are independent files, invoked via \include in the master document. My problem is the Index which doesn't appear in the end of my dissertation. I tried everything without success.

Like this

\documentclass{book}
\usepackage [pdftex]{graphicx}
\usepackage{grffile}
\usepackage{rotating}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage{hyperref}
\usepackage{makeidx}
\usepackage{chapterbib}
\usepackage{textcomp}
\usepackage{nomencl}
\usepackage{comment}
\usepackage{xtab}
\makeindex
\makenomenclature

\input another master file, include:
\usepackage{makeidx}
\makeindex[name= \ITerm, title= Concept Index,columns=2]
\makeindex[name= \IServ, title= Websites,columns=2]

\begin{document}
first
\include first global file --> include definitions, also:
\newcommand{\ITerm}{IndexTerms}
\newcommand{\IServ}{IndexServs}

\include  seconde global file --> include definitions :

\newcommand{\MyLarge}{\Large}
\newcommand{\smindexxspecial}[2]{{\MyLarge#2} \index[#1]{#2}}
\newcommand{\smindexspecial}[2]{{\MyLarge#2}\index[#1]{#2}}
\newcommand{\smindexvspecial}[2]{{\MyLarge#2}\index[#1]{#2}}
\newcommand{\smsindexspecial}[2]{{\MyLarge\url{#2}}\index[#1]{#2}}

\input.. several input files, also .tex files..

\printindex[\IServ]
\printindex[\ITerm]
\end{document}


I tried before with this example and want to use it for my dissertaion.

\documentclass{article}
\usepackage{imakeidx}

\newcommand{\ITerm}{IndexTerms}
\newcommand{\IServ}{IndexServs}

\newcommand{\MyLarge}{\Large}

\newcommand{\smindexxspecial}[2]{{\MyLarge#2} \index[#1]{#2}}
\newcommand{\smindexspecial}[2]{{\MyLarge#2}\index[#1]{#2}}
\newcommand{\smindexvspecial}[2]{{\MyLarge#2}\index[#1]{#2}}
\newcommand{\smsindexspecial}[2]{{\MyLarge\url{#2}}\index{#2}}

\makeindex[name= \ITerm, title= Concept Index,columns=2]
\makeindex[name= \IServ,title= Websites,columns=2]

\begin{document}

Here is a list of things and people

\begin{itemize}
\item  wiki  \smsindexspecial{\IServ}{www.wikipedia.org}
\item Beccari \smindexxspecial{\ITerm}{beccari}
\item Gregorio \smindexspecial{\ITerm}{gregorio}
\item Blue \smindexvspecial{\ITerm}{blue}

\end{itemize}

And this is the end of the story.

\printindex[\IServ]
\printindex[\ITerm]

\end{document}

-
Why loading makeidx twice and not imakeidx (which you are using the syntax of)? Never use \include for files containing only definitions, but \input. –  egreg Oct 7 '13 at 15:38
I wrote it here wrong, its not include but input. Do you mean I should use usepackage{imakeidx} instead of usepackage{makeidx}. Twice because one master file is mine and the other one is my tutors. Do you thin it would be work when I change makeidx in imakeidx. Its annoying I tried everything and I don't find the mistake. –  blue Oct 7 '13 at 17:18
It would be nice, when you give me always examples. ;) –  blue Oct 7 '13 at 17:19
Can you please make a compilable MWE? Showing some indices, no \inputs or \includes so that we can run it on our computer and test it. Do you have error messages in the log file? If yes, which one? –  Kurt Oct 7 '13 at 20:39
@Kurt The first code is not on my Laptop. The below code is on my laptop and this one works on my laptop now because I use imakeidx. Tomorrow I will try the first code with imakindex and then I will report on my success or fail. –  blue Oct 7 '13 at 21:30