Questions tagged [makeidx]
The makeidx tag has no usage guidance.
34
questions
1
vote
1
answer
30
views
Index changed from \thepage to \theenumi and alike
This is a sequel of An Index for an Enumerate Document.
I tried to replace \thepage by \theenumi or \theenumii with no success.
Here is a NWE :
\documentclass{article}
\usepackage{makeidx}
%
\...
1
vote
1
answer
38
views
fixme package breaks page links in index generated by makeidx
I have a problem that page links are not working for my index when I include the fixme package. I can certainly come up with some sort of work around, but I'm wondering if there are any fixes for this....
4
votes
1
answer
116
views
Can I use ltxdoc, makeidx, doc and bookmarks? If so, how?
Is it possible to use ltxdoc.cls with makeidx and bookmark?
MNWE:
\documentclass{ltxdoc}
\usepackage{makeidx}
\usepackage{bookmark}
\makeindex
\begin{document}
\DescribeMacro{\mymacro}\marg{argument}\...
1
vote
1
answer
42
views
How to center-align and adjust font of the index reference in a TOC using memoir?
I'm using the memoir class and have a TOC that is center aligned. I adjust the chapter formatting and shown in my MWE below, but the index seems to follow some of the formatting but not all of it? E.g....
6
votes
1
answer
224
views
Looking for an Analogous Command to |See for Use in the TOC
Consider the code
\documentclass{book}
\usepackage{makeidx}
\makeindex
\begin{document}
\LARGE
\tableofcontents
\newpage
\addtocontents{toc}{CHAPTERX|see{CHAPTERA}}
\index{ChapterX|see{ChapterA}}
\...
3
votes
2
answers
113
views
Spurious space after automatic line break before \index in math mode
Feeding
\documentclass{article}
\pagestyle{empty}
\usepackage{makeidx}
\makeindex
\begin{document}%
\newlength{\myLen}\setlength{\myLen}{33em}%
\noindent 1st line. Plain \(B\), no index:\\
\hspace*{\...
4
votes
1
answer
51
views
Hyperref bug with index entry containing quoted | character
For this MWE, run with xelatex in TexLive 2020 on Windows 10:
\documentclass{article}
\usepackage{makeidx}
\usepackage{hyperref}
\makeindex
\begin{document}
\index{foo} % OK, but without this line, ...
1
vote
1
answer
157
views
How to limit the number of page numbers in one line of an index?
I'm using PDFLaTeX and makeidx to compile an index for a book. Some of the index entries have many page numbers associated. The first line includes so many page numbers that there is no space, or in ...
1
vote
1
answer
79
views
How to get first-letter special characters sorted correctly with indexing=cite in biblatex (+prefixes)
assume that I use biblatex and indexing=cite to get the authors of cited titles in the index. But authors with first-letter special characters (e. g. {\c{C}}abej, Nelson R.) don't get automatically ...
3
votes
1
answer
859
views
Nomencl not being printed no nls file [duplicate]
Written article, but nomenclature is not printed. Using Texmaker with MikTEX. I have configured the Makeindex file locations as in the examples.
makeindex <filename>.nlo -s nomencl.ist -o <...
2
votes
1
answer
48
views
How to automatically index acronyms under a different index entry?
I would like to use scribal abbreviations of the works of Aristotle (e. g. NE or EE), but the author (Aristotle), who may not specifically named or cited, should automatically appear in the Index of ...
1
vote
0
answers
144
views
Use makeidx with hyperref in beamer
I am making kind of lecture notes for online lectures using the beamer class (in the presentation mode).
I need to use index. Using the advice from Is it bug or feature? I cannot use makeidx in beamer,...
2
votes
2
answers
112
views
[i]makeidx together with scrlayer-scrpage and tabbing in header leads to 'Something's wrong--perhaps a missing \item. \end{theindex}' error
I tried to add an index to one of my documents. This however failed, as the following MWI does as well. The cryptic error message is:
Something's wrong--perhaps a missing \item. \end{theindex}
The ...
2
votes
0
answers
532
views
Index sorting with a mix of greek and roman letters and single letter index entries
A mix of Roman, Greek, and single letter index entries
I am typing my thesis and have a mix of regular words, mathematics using greek symbols, and the occasional one letter word (such as the ...
3
votes
2
answers
790
views
Change Layout for makeidx or imakeidx
i want to change the default layout of my index. Need to use makeidx instead of imakeidx because i need it at the beginning of the document (found out that it is not possible with imakeidx)
I was not ...
1
vote
1
answer
82
views
ShowIdx (loaded by the Heiko Oberdiek hack) to display in red
I would like showidx to display the entries in the margin in red but can't figure out how, if only because showidx is loaded by the famous Heiko Oberdiek hack. Here is a MWE:
\documentclass[11pt]{...
1
vote
1
answer
107
views
makeindex: how to avoid format inappropriately applied to comma between adjacent page numbers?
Suppose you have a document in which you want to index the word "x" on pages 1, 2, and 4, and you would like to style each of the page number entries in the index in the same way (perhaps each of them ...
0
votes
0
answers
401
views
Print index entry name in text
I have an article document using indexes like the following:
\documentclass{article}
\usepackage{makeidx}
\makeindex
\begin{document}
This is a text, and it contains the index entry text.\index{...
1
vote
0
answers
819
views
Index mathematical symbols
I want to put mathematical symbols in my index. For example, \vec and @. To this end I wrote a command that sorts mathematical index entries to the beginning of the index. Sometimes the command works ...
4
votes
1
answer
364
views
How do I create an index in LaTeX using a custom wordfile?
I have a list of words that I'd like to include in an index, listed in a separate text file. But I'm not sure how to add this list into LaTeX to produce an index.
For example, let's say my document ...
1
vote
1
answer
297
views
Adding an index to classicthesis
I've been trying to add an index to my classicthesis document, in addition to a glossary (since they're not the same thing). I've done the usual bits:
% in the preamble
\PassOptionsToPackage{listings,...
5
votes
1
answer
310
views
A more precise hyperref
I'm currently using hyperref and makeidx to make a hyperlinked index, and it's working great. But right now, the hyperlinks always take me to the top of the page; ideally, I'd like the links to be ...
1
vote
1
answer
44
views
Index entries sorted by text of macro instead of value
A related question was asked here seven years ago, but I couldn't manage to make that solution work in my case.
I am using macros in various instances of my text to have a shorthand for often used ...
0
votes
0
answers
52
views
How to create a glossary of mathematical symbols in order of definition using the non-intrusive method of annotating used in creating a regular index?
I'd like to create an index of mathematical symbols. I'm purposefully using the term "index" rather than "glossary" for the following reason.
There's a difference of usage between the glossaries and ...
1
vote
1
answer
319
views
Index with both authors and subjects using natbib and makeidx
I am writing a book and trying to create an index that includes both authors (gathered from natbib references and the \citeindextrue command) and subjects (generated with the makeidx package and the \...
1
vote
1
answer
672
views
cannot use package makeidx
I want to use the package makeidx, but I can't.
When I comment out the \usepackage{makeidx} everything is ok, but I don't have index at the end.
Note
\index{animal} at the end.
I have this source
...
2
votes
0
answers
118
views
hyperref, makeidx and autonum combination leads to unexpected results
This question is a follow-up of my other question:
If I use math equations with the autonum package and the hyperref package without setting the option hypertexnames to false then I receive those ...
3
votes
2
answers
283
views
Why does \newcommand not work properly with \index and math argument?
I was going to shorten the \index command (package makeidx) as shown below. I am working on a large document and always forgot to write the normal word additionally before the index entry command \...
4
votes
1
answer
287
views
Using different counter for Index (makeidx)
I have a question similar to this question: I'm using makeidx and I want the index to use a different counter than \thepage. My code looks like this:
\documentclass{scrbook}
\usepackage{makeidx}
\...
0
votes
2
answers
179
views
Append a letter to a page number in Index
I am writing a book and would like to format an index, in which certain page numbers would have a letter appended (f for figure, t for table, etc.).
I have tried the following short working example:
\...
1
vote
2
answers
368
views
adding an explanatory text with makeidx in a book document class
(SECOND POST) Here is an updated code which shows that when commenting the index package I get in the index two separate entries in the index for the term alldifferent (one for its definition and one ...
4
votes
2
answers
563
views
Show index marks in text draft
I am creating an index for a long document using the makeidx package. Everything works fine.
In order to handle the document easier and to have a better overview, it would be very nice to show/mark ...
0
votes
1
answer
409
views
Auto updating index entry page numbers
I am using MikTeX Version 2.9 in Windows. Currently I am using makeidx.sty and the makeindex.exe program to crate the index entries from the TeX application files by using the tag \index. But is it ...
5
votes
1
answer
1k
views
Problem with making an index
I have a Latex document that I compiles perfectly. I wanted to add an index to the document and since it is Latex I used the commands
\usepackage{makeidx}
\makeindex
added my \index commands and ...