Questions tagged [makeindex]

MakeIndex is a program for sorting the entries identified in a source file by `\index{...}` into the order to be listed in an index. The LaTeX process writes out an `.idx` file, which is the input to MakeIndex. The output of MakeIndex is a sorted `.ind` file, to be read in by LaTeX in the next cycle to typeset the index.

Filter by
Sorted by
Tagged with
12
votes
0answers
318 views

How to select the right index tool for LuaLaTeX in 2019?

There are several tools for indexing: luaindex (one release from 2011, written in Lua, "This is an alpha version!", by Markus Kohm) makeindex (1987-1993, written in C, by L. Lamport, P. Chen et al.) ...
9
votes
4answers
279 views

Using a parameter reference as the optional argument of a macro

I'm currently trying to get index entries to be automatically shown in italic in the text, i.e. instead of \textit{Term}\index{Term}, I want to be able to use \index{Term}, which should render the ...
7
votes
2answers
404 views

How to determine how much “save space” I am using

I have once again reached the "save space" limit of 80,000. TeX capacity exceeded, sorry [save size=80000]. The last log file where I did not have this issue reports the following. 182627 ...
7
votes
1answer
488 views

Makeindex, different kinds of references and collation in the index

In reference to the question asked last week on how to deal with different kinds of index-entries: Makeindex and different kinds of references I wondered if it is possible to up the ante. Again this ...
6
votes
2answers
1k views

How to generate an automatic index (concordance) in a large file?

I'd like to generate an index by inputing a large file (1189 chapters, 31'171 verses/sentences) and if possible to set restrictions from minimal word length restrictions to specific words to exclude ...
6
votes
2answers
887 views

newcommand for index inserts unwanted spaces when using {}

I'm creating a technical document with lots of index entries. To reduce typing I defined an index command that typesets the word to be indexed using \emph{}: \newcommand{\ind}[1]{\index{#1@\emph{#1}}}...
6
votes
1answer
151 views

Abnormal distance in acronym list

I have made a list of acronyms and at first everything looked fine. Once I added tRNA as acronym the distance between tRNA and TSH seem to be smaller than from the other acronyms. Has anyone an idea ...
6
votes
2answers
680 views

Three-column, full page index in tufte-book[twoside,symmetric]

I create two indexes in tufte-book. I use the default settings for the first--Index of artists--which matches the body of the book, is two-column, and has the large margins used throughout the book. ...
5
votes
2answers
149 views

Makeindex and different kind of references

The manual of Makeindex states: In some indexes, certain page numbers are specially formatted—for example, an italic page number may indicate the primary reference, and an n after a page number may ...
5
votes
1answer
133 views

“Greek” language in Babel makes “index” fail for roman-numbered pages

The following MWE works fine: \documentclass{book} \usepackage{makeidx} % \usepackage[greek,english]{babel} \makeindex \begin{document} \frontmatter foo\index{foo} \mainmatter \printindex \end{...
5
votes
1answer
60 views

How can I index a string containing @ when \index itself uses @?

I need to index the string $@ \documentclass[a4paper,10pt,openany]{scrbook} \usepackage{imakeidx} \makeindex \newcommand{\indexthing}[1]% {% \index{#1@\texttt{#1} (thing)}% \index{things!\...
5
votes
1answer
93 views

Lessons learned in creating a large book index

I am handling the Collected Papers of a colleague who has died several years ago. We are preparing to publish (as a series of books) about 5000 pages of mathematics that he wrote. I have almost ...
4
votes
1answer
1k views

Book template for tex4ebook

I am trying to set up a book template for tex4ebook using memoir and Texlive. The MWE that has everything I want is: \documentclass[ebook,12pt,oneside,openany]{memoir} \begin{filecontents}{test.bib}...
4
votes
1answer
475 views

Stylish index for cyrillic input with xindy!

I trying to stylish index. I want to implement one cool template in my project and edit it a lot for my pleasure. In order to begin that, I want to implement it without any changes. But in that ...
4
votes
1answer
453 views

Explain like I'm five: “see” index entries

Can someone please explain like I'm five: What is the correct syntax for making index entries like this? hierarchy: see `polymorphism` overloading, operator: see `operator overloading` I'm ...
4
votes
1answer
51 views

Is it possible to index an exclamation point given in a macro argument?

I have nearly the same problem as this guy but the solution doesn't work for me, I think because the string I am indexing is in a macro argument. From the other question: The characters !, @, and |...
4
votes
1answer
57 views

How to define customized keyboard shortkeys in TeXstudio?

I am writing an article in TeXstudio and want to include an index that contains (many) selected keywords that have already been written. To do so, I use the imakeidx package. Is there a possibility to ...
4
votes
1answer
94 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 ...
4
votes
1answer
355 views

Wrong order in index

I'm getting an unplesant result with makeindex: \documentclass[fontsize=12pt,twoside,parskip=half]{scrbook} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \...
4
votes
0answers
74 views

Create single column index with future items and no title

I have a document where I mention external references, sometimes more than once. I want an index of these mentions somewhere at the beginning of the document. And I do not want a title above. And I ...
4
votes
1answer
65 views

Indexing of single and multiple Psalms in bibleref / bibleref-german

In scholarship, a single reference to a Psalm is abbreviated with "Ps" (for "Psalm"), while references to several Psalms are abbreviated as "Pss" ("Psalms"). The bibleref-german package does ...
4
votes
0answers
254 views

Makeindex is called on wrong *.idx file when using multiple indices with imakeidx [closed]

I, using Miktex and Texmaker, would like to create a book with multiple indices using imakeidx. However, I encounter the problem that makeindex is called on the wrong *.idx file, therefore no index is ...
3
votes
2answers
543 views

Makeindex cannot generate index entries

I have a simple Latex cod \documentclass[12pt,oneside]{scrbook} \usepackage{makeidx} \makeindex \renewcommand{\thepage}{% \thechapter.\arabic{page}} \begin{document} \chapter{Sample} Stuff about ...
3
votes
3answers
309 views

Add Bible references only to index, not to text, with bibleref

I am using bibleref for referencing and indexing Bible verses. I would like to add a Bible verse to the index without having any output in the actual text. After reading the bibleref manual, it ...
3
votes
1answer
51 views

Is there a way to avoid writing “term \index{term}” when creating an index?

The standard way of creating an index is by writing something like, "term \index{term}" Index will not show up in table of contents Some random \index{random} text \index{stuff!text} about fact ...
3
votes
1answer
92 views

Replace page numbers in index by theorem numbers

I would like to create an index that refers to theorem numbers instead of the page numbers. The following example creates the usual index with page numbers: \documentclass[ngerman, 12pt]{article} \...
3
votes
1answer
121 views

Make index entries refer to a counter and not page numbers

For a given work, I have a continuous numerotation throughout all the document using a counter. I need the index entries refer to the paragraph numbers and not to the pages. This is the same issue ...
3
votes
1answer
118 views

index with additional information

for a book publication I need to create an index of all persons appearing in the text, along with some biographical information about them. It should be formatted like Personenregister KAMMEL, ...
3
votes
1answer
29 views

Problem with equals sign in doc \changes

When documenting a class/package with the doc package (or some derivative), what's the best way of including a literal equals sign in the text of a \changes command? Since = is used as a special ...
3
votes
1answer
126 views

TeX refuses to produce a split index

I need an index of terms and an index of symbols for my document, and it seems like splitidx is a good way to do this. But it doesn't seem to work in my document. I eventually realized the problem is ...
3
votes
1answer
288 views

Why .ind empty (with error message from xindy although makeindex is used) when index command is inside an align environment?

When compiling the following MWE with texi2dvi -p, the second \index{} command fails with the error message ERROR: CHAR: index 0 should be less than the length of the string (seems like this is ...
3
votes
2answers
109 views

Page numbering resets at Index with imakeidx and JHEP template

I am typing a document using the template provided by JHEP https://jhep.sissa.it/jhep/help/JHEP_TeXclass.jsp I would like to include an Index with imakeidx. Everythings seems to be working fine, ...
3
votes
1answer
36 views

“Numbers” heading in custom index with bibleref package

I'm getting some odd behavior in my Scripture index using the bibleref package and a style file. The word "Numbers" is unexplicably appearing as a header in the index. MWE: \documentclass{...
3
votes
1answer
123 views

imakeidx : create a fancy style with TikZ, with a rectangle with one rounded corner

I am trying to create a nice looking style for my index. Here is what I have achieved vs. what I want to reach : Achieved : Goal : Here is my file tablealphab.ist : heading_prefix " \\vspace*{0....
3
votes
1answer
71 views

How modify custom .ist to incorporate repeatindex

Documentation for the repeatindex package says to use makeindex -s repeatindex file (or otherwise enclose each item in square-brackets), but I'm already using makeindex -s file.ist where file.ist ...
3
votes
2answers
86 views

imakeidx does not run makeindex when output-directory is set and named index does not work

I'm trying to make a document with an index. I have two issues with that (probably both caused by the first. I use the package imakeidx since that should run makeindex automatically, but it does not. ...
3
votes
0answers
88 views

Indexing error: \mathit allowed only in math mode

I’m looking for any possible clues in trying to track down a cause for the following error while writing or processing the .ind file for a memoir class document (using latexmk with pdflatex): \...
2
votes
3answers
233 views

Is there a command that gives the page numbers of an index entry?

Is there a command---for example, something like \pages{pangolins}--- that represents the page numbers (and page ranges) of an index entry "pangolins"? If not, is there any elegant way to code such a ...
2
votes
2answers
313 views

Generating an name index with \index{name@name and surname}

I am trying to generate an index of person names, which are used in a book. On its first appearance, the person is introduced using it complete name (i.e. name and surname and maybe an additional ...
2
votes
1answer
177 views

imakeidx in greek

The issue: Using imakeidx for indexing in greek language the result is not in the right alphabetical order. I tried to use xindy-package also, but with no success. The right alphabetical order in ...
2
votes
1answer
122 views

Conflict with makeindex using babel and memoir?

Revised question (I've been able to eliminate all extraneous definitions from my original source project and yet still reproduce this error with a MWE.) On the memoir document source below, I've run ...
2
votes
1answer
259 views

.ist file has no effect on printed index

I am trying to modify an index with a style .ist file. I create the .ist file, I place it in the same directory as the main file, and pass the option. However, the index remains the same. Here there ...
2
votes
2answers
252 views

Add line to index file to avoid page number

Is it possible to write custom lines into the index-file? Consider this: \documentclass{scrbook} \usepackage[splitindex]{imakeidx} \makeindex[name=date] \newcommand\dateindex[1]{\index[date]{#1}} ...
2
votes
1answer
49 views

How to Have \idxlayout Not Treat \dotfill as Part of the Index Entry?

I am trying to incorporate the effect of \dotfill in producing an Index with the idxlayout package. I have tried this very (basic) approach: \documentclass[12pt]{book} \usepackage{imakeidx} \makeindex ...
2
votes
1answer
43 views

Why does an index entry generated from a listings' token preceeding a comma get rejected?

I'm trying to index the tokens in a listing, but they always get rejected if they are followed by a comma. Here's mwe.tex: \documentclass{article} \usepackage{listings} \lstset{index={foobar}} \...
2
votes
1answer
127 views

How get multiple indexes with arara?

How do I have to change the arara commands in the following so that the index of names will also be printed? As it stands, I get just the main index. % arara: pdflatex % arara: bibtex % arara: ...
2
votes
1answer
191 views

TeXstudio: Run more than one index files

I am using TeXstudio to write a book, and I would like to include two index files. I am using the document class amsbook with package amsmidx for multiple indices. I succeed to generate two .idx files,...
2
votes
1answer
62 views

Garbled index with ltxdoc document class

When using the ltxdoc document class, index entries are misformatted, looking like this: foomacro= \subitem *+\foomacro+, \usage{1} rather than… however they’re supposed to look. This sounds like a ...
2
votes
1answer
290 views

makeindex: first letter bold

I create my index with makeindex, my .ist-file looks like that: % sty.file for mkidx32.exe - redefines: quote '+' headings_flag 0 %headings_flag 1 heading_prefix "{\\textbf " heading_suffix "}\\...
2
votes
1answer
119 views

multiple indexes in ltxdoc

I want to use multiple indexes in ltxdoc. But if I use the package imakeidx my defined "General Index" disappears and I get the standard "Index". Without imakeidx I do get what I want. Is this a bug ...

1
2 3 4 5