Master file:
\documentclass[dvipsnames,cmyk]{book}
% File Containing All the Control Settings
\usepackage{../../Style/mystyle}
\makeindex
\begin{document}
% Front Cover
\include {Front_Cover/frontcover}
% Chapters
\include {Chapters/CH_Analysis_of_Algorithms/Analysis_of_Algorithms}
\include {Chapters/CH_Abstract_Data_Types/Abstract_Data_Types}
\include {Chapters/CH_Arrays/Arrays}
\include {Chapters/CH_Linked_Lists/Linked_Lists}
\include {Chapters/CH_Stacks/Stacks}
\include {Bibliography/biblio}
% Index
\printindex
\end{document}
I compiled it as follows:
$pdflatex master.tex
=> Empty idx file generated
$makeindex master.idx
This is makeindex, version 2.15 [TeX Live 2012] (kpathsea + Thai support). Scanning input file master.idx...done (0 entries accepted, 0 rejected). Nothing written in master.ind. Transcript written in master.ilg.
$pdflatex master.tex
Output: PDF with NO Index.
I am compiling from the command line using pdflatex (don't use latex to avoid boxing issues with graphics)
Please guide me on this issue.
\printindexwill makepdflatexchoke. I assume you have something in yourmystyle.styfile that allows you to compile your document. Also, why are you callingmakeindex master.idxand yetmakeindexis scanningcontrol.idxfor index entries (and, clearly finding none!)? Finally, are thedvipsnamesandcmykoptions mentioned when you are not using them? Minimal working examples are always valuable, but they can't be too minimal. – jon Aug 24 '12 at 5:35makeindex master.idx(or justmasterwithout an explicit extension)? – jon Aug 24 '12 at 6:07\indexcommands at all? Without\indexthe.idxfile would remain empty. – Heiko Oberdiek Aug 24 '12 at 7:05