[texhax] indexing

Uwe Ziegenhagen ziegenhagen at gmail.com
Sat May 5 16:26:14 CEST 2012


Hi Randy! See my answers below:

2012/5/4  <abqotts at comcast.net>:
>
> Hi
>
>
>
> I am trying to create an index for an article. I have read Leslie Lamport's
> MakeIndex article and have the following questions:
>
>
>
> 1) the article says "Next, run the MakeIndex program by typing the following
> Unix command: makeindex myfile.idx. How do I perform this task under a
> Windows operating system?

Do you use an editor for LaTeX, such as TeXworks or Texniccenter? My
TeXworks has (besides pdflatex, xelatex, etc) an pulldown item for
makeindex. You can however open the command shell
(http://www.sevenforums.com/tutorials/947-command-prompt.html) and run
the command.


>
>
> 2) When I include the \printindex command in my .tex file I get an error
> message saying "unrecognized command". What command do I include to print
> the index in the document?

The following example works and generates two pages:

\documentclass{scrartcl}
\usepackage[]{makeidx}
\makeindex
\begin{document}

Hallo Welt!

\index{Hallo}

\printindex

\end{document}

a) Run it through latex (pdflatex, xelatex, ...)
b) Call makeindex
c) Run it through latex again



>
>
> 3) Are there beginner courses in Latex somewhere near where I live in
> Albuquerque, NM?
>

No idea! I'm sitting in Germany. You could check local colleges or
universities if they offer courses.

Uwe

-- 
Uwe Ziegenhagen
<http://www.uweziegenhagen.de>


More information about the texhax mailing list