2

I wrote this LaTeX file with TexMaker and I don't know why there is no index in the PDF file. Please tell me where I'm wrong.

‎\documentclass[10pt,twoside,a4paper]{book}‎
‎\usepackage{amsmath}‎
‎\usepackage{amsfonts}‎
‎\usepackage{amssymb}‎‎
‎\usepackage{‎make‎idx}‎‎
\author{‎A H‎}
‎%define the title‎
\title{‎Modern Real Analysis‎}‎
‎\makeindex‎‎
‎\begin{document}‎‎
‎%generates the title‎
‎\maketitle‎
‎%insert the table of contents‎
‎\tableofcontents‎
\chapter{‎Measure Theory‎}
‎In ‎this ‎chapter ‎we ‎introduce ‎new ‎definitions ‎.....‎
‎\section{‎Summery‎}‎

\chapter{‎Topologycal Aspects‎}
‎The ‎Riesz ‎Representation ‎Theorem ‎and ‎\index{‎‎Regular ‎Borel ‎measures} ‎are ‎most ‎important ‎things ‎in ‎this ‎chapter‎ ‎....‎
‎\section{‎Summery‎}‎

\chapter{‎Lebesgue ‎measure ‎in‎ ‎$\mathbb{R}^{n}$}‎
‎Thi‎s part want generalized ....
‎\section{‎Summery‎}‎
‎Page2 :‎ ‎\index{Alpha}‎
‎\printindex‎
‎\end{document}
2
  • 2
    Welcome to TeX.sx! A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it).
    – egreg
    Nov 23, 2012 at 7:48
  • 2
    I think it is probably the mthod you are compiling. You need to run pdflatex followed by makeindex and then pdflatex. I am unable to try your sample MWE as it contains spurious characters that result in compile errors. Nov 23, 2012 at 8:07

1 Answer 1

2

In TeXmaker run Quickbuild, then from the menu Tools->Makeindex, then Quickbuild again. Or press F1, F12, F1.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .