MakeIndex, Nomenclature, Glossaries and AcronymsIndex which does not generate

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

Index which does not generate

Post by latexforever »

Hello,

I am using many

Code: Select all

\index{Thing!Subthing}
in my document. I have evidently put the

Code: Select all

makeidx
in my

Code: Select all

\documentclass[11pt,a4paper,twoside,final,makeidx,openright]{book}
,
put

Code: Select all

\usepackage{makeidx}
, put

Code: Select all

\makeindex
where it needs to be put, and finally put

Code: Select all

\printindex
where it needs to be put. The problem is that, even if, when looking at the .ilg file, there is no error, there is no index in my output document. I do not understand why, because it was working some months before. Here is my .ilg output (I'm here trying with Windows XP):

Code: Select all

This is C:\Program Files\MiKTeX 2.7\miktex\bin\makeindex.exe, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
Scanning style file perso.ist......done (6 attributes redefined, 0 ignored).
Scanning input file index.idx....done (604 entries accepted, 0 rejected).
Overall 1 file read (604 entries accepted, 0 rejected).
Sorting entries............done (...)
Generating output file index.ind....done (605 lines written, 0 warnings).
Output written in index.ind.
Transcript written in index.ilg.
Why doesn't it work?

Thanks.

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

Index which does not generate

Post by localghost »

latexforever wrote:[...] I have evidently put the

Code: Select all

makeidx
in my

Code: Select all

\documentclass[11pt,a4paper,twoside,final,makeidx,openright]{book}
[...]
There is no option makeidx for the document class. You should get a corresponding warning in the log file.

Make sure that you run the compiler at least two times after makeindex has done its job. If the problem persists, build a minimal working example (MWE) that shows it.


Best regards
Thorsten¹
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
latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

Re: Index which does not generate

Post by latexforever »

I had to delete the .aux file. It now works. Thanks!
Post Reply