Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
share|improve this question
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 '12 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. –  Peter Grill Nov 23 '12 at 8:07

1 Answer 1

up vote 1 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.