[texhax] Trouble Indexing
Barbara Beeton
bnb at ams.org
Sun Jan 24 19:34:06 CET 2010
dear ronaldo,
Thanks for your message. So, if I got it right, I can't compile the
document because of the inconsistency you mentioned. So, how do I solve
it?
no, that's not it at all.
simply omit \usepackage{makeidx} and insert
\makeindex
and your \index{...} terms as you would if you
used the package. amsbook already contains
the code to support the index, so you will
get an .idx file to be run through makeindex.
put \printindex in the usual place, and the
resulting index will be in the proper ams
style. the style is why the indexing support
is in the ams document classes; indexes are
a usual component of books published by ams.
-- bb
---------- Original Message -----------
From: Barbara Beeton <bnb at ams.org>
To: Ronaldo Freire de Lima <ronaldo at ccet.ufrn.br>
Cc: texhax at tug.org
Sent: Fri, 22 Jan 2010 11:34:56 -0500 (EST)
Subject: re: [texhax] Trouble Indexing
> ronaldo,
> the ams document classes (amsbook, amsart
> and amsproc) already incorporate all the
> necessary facilities for indexing, so you
> should not
> \usepackage{makeidx}
>
> this is documented, though perhaps not as
> clearly as it should be. i have made a
> note that the documentation needs to be
> improved the next time we update.
>
> there is one inconsistency that you should
> be aware of ... the command \see was
> unfortunately defined to produce "see also";
> because these document classes had been
> used extensively before that was reported,
> a new command, \seeonly , was defined to
> produce the simple "see".
> -- bb
>
> ---------- Forwarded message ----------
> Date: Thu, 21 Jan 2010 15:00:46 -0300
> From: Ronaldo Freire de Lima <ronaldo at ccet.ufrn.br>
> To: support at tug.org
> Subject: [texhax] Trouble Indexing
>
> Hi !!
>
> I would appreciate very much if you could help me with the following problem I've be facing:
>
> I'm writing a book (documentstyle amsbook) and I'm using the makeidx package for indexing. However, when I try to compile the file I get the following message:
>
> ("C:\Program Files\miKTeX 2.71\tex\latex\base\makeidx.sty"
>
> ! LaTeX Error: Command \see already defined.
>
> Or name \end... illegal, see p.192 of the manual.
>
> See the LaTeX manual or LaTeX Companion for explanation.
>
> Type H <return> for immediate help.
>
> l.41 \newcommand*\see[2]{\emph{\seename} #1}
>
> ?
>
> How could I solve it?
>
> Thanks in advance
> Sincerely
> Ronaldo Lima
------- End of Original Message -------
More information about the texhax
mailing list