I do not know why after creating the file .idx
, LaTeX does not create the file .ind
. I am using the following commands:
In the preamble
\usepackage{makeidx}
\makeindex
at the end
\printindex
Say, your latex code is stored in myDoc.tex . It contains the statements you mentioned.
Compile Latex for the first time.
Open a terminal (i.e. cmd on windows), set the path to the directory of myDoc.tex and run from the command line, where >
denotes the prompt:
> makeindex myDoc
This step compiles all relevant info from your \index{}
statements made.
Compile Latex a second time, and there you go.
See the manual of package makeidx
for more details: https://mirror.marwan.ma/ctan/indexing/makeindex/doc/makeindex.pdf
\documentclass
and ends with\end{document}
that we can copy-and-paste-and-compile as see exactly what the issue is? Can you do that?