MakeIndex, Nomenclature, Glossaries and AcronymsA problem with indexing (see also appearing instead of see)

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
bibo_extreme
Posts: 3
Joined: Sat Nov 30, 2013 1:11 pm

A problem with indexing (see also appearing instead of see)

Post by bibo_extreme »

Hello I would like to add some terms that mean the same thing in the index of my thesis. For example "vector space" and "linear space". I wish this to appear as "vector space, see linear space". I'm using amsbook and for such an example I'm writing \index{vector space|see{linear space}}. However, it keeps on coming up as "see also" instead of "see". I don't know if this is a common problem but I couldn't find a solution anywhere on the web. Here's the code I'm using, without any chapter files - it still runs.

Code: Select all

%-----------------------------------------------------------------------
% Beginning of amsbook.template
%-----------------------------------------------------------------------
%
%    AMS-LaTeX v.2 driver file template for use with amsbook
%
%    Remove any commented or uncommented macros you do not use.

\documentclass{amsbook}

%    For use when working on individual chapters
%\includeonly{}

%    Include referenced packages here.
\usepackage{amssymb,amscd,latexsym,amsxtra}
\usepackage[mathscr]{eucal}

\newtheorem{thm}{Theorem}[chapter]
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{ax}{Axiom}


\theoremstyle{definition}
\newtheorem{defn}[thm]{Definition}
\newtheorem{exmp}[thm]{Example}
\newtheorem{xca}[thm]{Exercise}
\newtheorem{prob}[thm]{Problem}

\theoremstyle{remark}
\newtheorem{rem}[thm]{Remark}
\newtheorem{claim}{Claim}
\newtheorem{case}{Case}
\newtheorem*{notation}{Notation}

\numberwithin{section}{chapter}
\numberwithin{equation}{chapter}
\numberwithin{figure}{chapter}
\numberwithin{table}{chapter}

%    For a single index; for multiple indexes, see the manual
%    "Instructions for preparation of papers and monographs:
%    AMS-LaTeX" (instr-l.pdf in the AMS-LaTeX distribution).
\makeindex

\begin{document}

\frontmatter

\title{}

%    Remove any unused author tags.

%    author one information
\author{}
\address{}
\curraddr{}
\email{}
\thanks{}

%    author two information
\author{}
\address{}
\curraddr{}
\email{}
\thanks{}

\subjclass[2000]{Primary }
%    For books to be published after 1 January 2010, you may use
%    the following version:
%\subjclass[2010]{Primary }

\keywords{}

\date{}

\begin{abstract}
\end{abstract}

\maketitle

%    Dedication.  If the dedication is longer than a line or two,
%    remove the centering instructions and the line break.
%\cleardoublepage
%\thispagestyle{empty}
%\vspace*{13.5pc}
%\begin{center}
%  Dedication text (use \\[2pt] for line break if necessary)
%\end{center}
%\cleardoublepage

%    Change page number to 6 if a dedication is present.
\setcounter{page}{4}

\tableofcontents

%    Include unnumbered chapters (preface, acknowledgments, etc.) here.
\include{}

\mainmatter

\index{Hello|see{Hi}}

%    Include main chapters here.
\include{}

\appendix
%    Include appendix "chapters" here.
\include{}

\backmatter
%    Bibliography styles amsplain or harvard are also acceptable.
\bibliographystyle{amsalpha}
\bibliography{}
%    See note above about multiple indexes.
\printindex

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

A problem with indexing (see also appearing instead of see)

Post by localghost »

Just for information to other users for awareness of possibly already existing solutions. The question has also been posted to {TeX} SX. Please read what our administrator thinks about that.
Board Rules wrote:A crossposting is always contra-productive. But there is nothing really against it as long as it is mentioned. This means that a direct link has to be added. So other users who want to help are preserved from double efforts and waste of time.
Such kind of x-posting without notification represents a direct violation of our rules and has to be prevented absolutely in future questions.

Putting this line into the preamble of your document should do the trick.

Code: Select all

\renewcommand*{\seename}{see}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
bibo_extreme
Posts: 3
Joined: Sat Nov 30, 2013 1:11 pm

Re: A problem with indexing (see also appearing instead of s

Post by bibo_extreme »

Sorry about not mentioning that I asked this question elsewhere. I have nearly zero experience of forums and didn't realize what problems this might create. Will take note for future questions.
bibo_extreme
Posts: 3
Joined: Sat Nov 30, 2013 1:11 pm

Re: A problem with indexing (see also appearing instead of s

Post by bibo_extreme »

I've only just noticed that you posted a solution to my problem. It works! Thanks a lot localghost.
Post Reply