My index is working smoothly with the command
\makeindex
alone. However, when I put
\usepackage{makeidx}\makeindex
compilation gives two errors as
1. Command \see already defined.
\newcommand*\see[2]{\emph{\seename} #1}
2. Command \printindex already defined.
...command\printindex{\@input@{\jobname.ind}}
Packages I am using are:
\usepackage{amsmath}%
\usepackage{amsfonts}%
\usepackage{amssymb}%
\usepackage{amsmath,amscd}%
\usepackage{amsmath,chemarrow}%
\usepackage{amsmath,thmtools}%
\usepackage{amsmath,diagrams}%
\usepackage{amsfonts,mathrsfs}%
\usepackage{amsfonts,eucal}%
\diagramstyle[labelstyle=\scriptstyle]%
\usepackage{graphicx}%
\usepackage{xy}%
\usepackage{bez123,calc,curves,ebezier,epic,eepic,multiply,rotating}%
\usepackage[bookmarks]{hyperref}%
\usepackage{MnSymbol}%
\usepackage{etoolbox}%
\usepackage{manfnt}%
\usepackage{xcolor}%
\usepackage{slashed}
\NeedsTeXFormat{LaTeX2e}
I am curious where is the clash. I am using MikTeX 2.9 with TeXnicCenter.
Best Answer
the facilities for indexes are already built into ams document classes --
amsart
,amsbook
andamsproc
.if you are using one of these document classes, or another built on top of one of these, you will get the errors you report. this is well documented.
you need to say what class you are using, not just the packages. (if you are using an ams class,
amsmath
,amsfonts
andamsthm
are also built in, so need not be specified.)