LaTeX forum ⇒ MakeIndex, Nomenclature, Glossaries and AcronymsA problem with indexing (see also appearing instead of see) Topic is solved

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

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

Postby bibo_extreme » Sat Nov 30, 2013 1:13 pm

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.

  1. %-----------------------------------------------------------------------
  2. % Beginning of amsbook.template
  3. %-----------------------------------------------------------------------
  4. %
  5. % AMS-LaTeX v.2 driver file template for use with amsbook
  6. %
  7. % Remove any commented or uncommented macros you do not use.
  8.  
  9. \documentclass{amsbook}
  10.  
  11. % For use when working on individual chapters
  12. %\includeonly{}
  13.  
  14. % Include referenced packages here.
  15. \usepackage{amssymb,amscd,latexsym,amsxtra}
  16. \usepackage[mathscr]{eucal}
  17.  
  18. \newtheorem{thm}{Theorem}[chapter]
  19. \newtheorem{cor}[thm]{Corollary}
  20. \newtheorem{lem}[thm]{Lemma}
  21. \newtheorem{prop}[thm]{Proposition}
  22. \newtheorem{ax}{Axiom}
  23.  
  24.  
  25. \theoremstyle{definition}
  26. \newtheorem{defn}[thm]{Definition}
  27. \newtheorem{exmp}[thm]{Example}
  28. \newtheorem{xca}[thm]{Exercise}
  29. \newtheorem{prob}[thm]{Problem}
  30.  
  31. \theoremstyle{remark}
  32. \newtheorem{rem}[thm]{Remark}
  33. \newtheorem{claim}{Claim}
  34. \newtheorem{case}{Case}
  35. \newtheorem*{notation}{Notation}
  36.  
  37. \numberwithin{section}{chapter}
  38. \numberwithin{equation}{chapter}
  39. \numberwithin{figure}{chapter}
  40. \numberwithin{table}{chapter}
  41.  
  42. % For a single index; for multiple indexes, see the manual
  43. % "Instructions for preparation of papers and monographs:
  44. % AMS-LaTeX" (instr-l.pdf in the AMS-LaTeX distribution).
  45. \makeindex
  46.  
  47. \begin{document}
  48.  
  49. \frontmatter
  50.  
  51. \title{}
  52.  
  53. % Remove any unused author tags.
  54.  
  55. % author one information
  56. \author{}
  57. \address{}
  58. \curraddr{}
  59. \email{}
  60. \thanks{}
  61.  
  62. % author two information
  63. \author{}
  64. \address{}
  65. \curraddr{}
  66. \email{}
  67. \thanks{}
  68.  
  69. \subjclass[2000]{Primary }
  70. % For books to be published after 1 January 2010, you may use
  71. % the following version:
  72. %\subjclass[2010]{Primary }
  73.  
  74. \keywords{}
  75.  
  76. \date{}
  77.  
  78. \begin{abstract}
  79. \end{abstract}
  80.  
  81. \maketitle
  82.  
  83. % Dedication. If the dedication is longer than a line or two,
  84. % remove the centering instructions and the line break.
  85. %\cleardoublepage
  86. %\thispagestyle{empty}
  87. %\vspace*{13.5pc}
  88. %\begin{center}
  89. % Dedication text (use \\[2pt] for line break if necessary)
  90. %\end{center}
  91. %\cleardoublepage
  92.  
  93. % Change page number to 6 if a dedication is present.
  94. \setcounter{page}{4}
  95.  
  96. \tableofcontents
  97.  
  98. % Include unnumbered chapters (preface, acknowledgments, etc.) here.
  99. \include{}
  100.  
  101. \mainmatter
  102.  
  103. \index{Hello|see{Hi}}
  104.  
  105. % Include main chapters here.
  106. \include{}
  107.  
  108. \appendix
  109. % Include appendix "chapters" here.
  110. \include{}
  111.  
  112. \backmatter
  113. % Bibliography styles amsplain or harvard are also acceptable.
  114. \bibliographystyle{amsalpha}
  115. \bibliography{}
  116. % See note above about multiple indexes.
  117. \printindex
  118.  
  119. \end{document}

Tags:

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Sat Nov 30, 2013 1:16 pm

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.
  1. \renewcommand*{\seename}{see}
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ 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

Postby bibo_extreme » Sat Nov 30, 2013 1:24 pm

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

Postby bibo_extreme » Sat Nov 30, 2013 1:30 pm

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


Return to “MakeIndex, Nomenclature, Glossaries and Acronyms”

Who is online

Users browsing this forum: No registered users and 2 guests