{indexing} is about creating an index or similar lists for your document, usually by means of executing makeindex.

learn more… | top users | synonyms

34
votes
2answers
648 views

Best practice for index construction — recommendations and references

I'm about to embark on something I've never done (at any rate, seriously) before: preparing an index for a ~200-page document. I have started, but I get the feeling "something's wrong". I know that I ...
25
votes
1answer
7k views

How to make clickable links and cross-references in pdfs produced by LaTeX?

How can I make things link url references, my index, table of contents, and cross references clickable links in documents produced by LaTeX? I generally use pdflatex to produce my documents.
22
votes
1answer
919 views

List of Indexing Packages - Pros and Cons

What are the various indexing packages and what are their pros and cons? When should one choose one over the other? There is some discussion of this in What are the latest/best practices for index ...
20
votes
2answers
2k views

How can I have two or more distinct indexes?

I often want to have more than one index in a longer LaTeX document. For instance, I might want a general concept index, an index of named persons, and an index of symbolism. How can I have two or ...
19
votes
4answers
4k views

Command to uppercase the first letter of each word in a sentence

I'm writing a textboox in latex, and I have things like \textit{some definition}\index{Some Definition} all over the place. I'd like to combine them into something like \define{some definition} ...
19
votes
2answers
322 views

How to make a list of indexed words defined directly in text?

Is there any way to mark words in a text for the use of them in a list later on? Example: Hi my name is \addmark{Kris}, I need a \addmark{list} of words containing all the \addmark{marked words} by ...
18
votes
3answers
524 views

Using indexing packages with memoir

Friends, as you probably know, I have a quite complex document for cataloging songs. :) As my normal workflow, I use the book document class with some dozens of packages loaded. I've been playing ...
17
votes
2answers
537 views

What is the correct way to generate an index?

For creating an index I am currently including \usepackage{makeidx} \usepackage{index} \makeindex [...] \index{...} [...] \printindex into the document (and run makeindex inbetween compilations). ...
16
votes
3answers
349 views

Why do we need add on programs like Biber and MakeIndex?

The creation of biblatex has made bst files obsolete allowing the formatting to be done by LaTeX and not an add on program like BibTeX, but it didn't completely eliminate the need for an add on ...
16
votes
1answer
1k views

Remove page number from index entries

My indexed terms are hyperlinks (to external files -- see question listed below), so the page numbers are really not useful information. Hece I would like to be able to remove the page number (and the ...
16
votes
1answer
916 views

Which tool to use: an index or a glossary?

I have this situation: My book needs an alphabetical index, used for finding on which page an item appeared. My book needs a glossary, used for looking up the definition of the item. Every indexed ...
16
votes
1answer
303 views

How can I create a beautiful symbol table?

One part of my "Geometrie und Topologie" book is a symbol table that allows students to quickly find the right words when they don't understand a symbol. This makes searching via the index / Wikipedia ...
15
votes
2answers
683 views

Why do you need (to use) texindy (to call xindy) when you want to use xindy?

If I replace the word texindy with xindy in the following answer the code compiles and produces same output (at least using TeXShop). texindy is there for a reason, and at least one expert uses it ...
15
votes
2answers
501 views

Footnote numbers in index (e.g., 23n3)

I'm currently weighing indexing options for a book-length project. One of the more surprising hurdles is that there doesn't seem to be a way to create an index (in my case, several indices) that ...
14
votes
1answer
565 views

How to create my own ref label system?

I want to add a hyperlink to sections where a file is discussed. Additionally the usage should be added to the index. In principle this is very close to the label ref system. A simple approach would ...
14
votes
2answers
487 views

Xindy: Encapsulations for Index

Well, I struggled to improve my index generated by Xindy. I tried to add several entries with bold page numbers by using \index{...|textbf} as classified in latex-loc-fmts.xdy, without any success. ...
14
votes
2answers
1k views

What are the latest/best practices for index generation?

I would like to know what the current best practices are for index generation. What are the best packages/programs to use and which ones to avoid. What are the best ones to use for generating multiple ...
14
votes
2answers
294 views

How can I have a word index for each chapter as well as a word index for the whole book?

In other words, just the way I get a table of contents at the beginning of each chapter with titletoc, I would like to have a word index at the end of each chapter. (In addition to the index for the ...
13
votes
3answers
250 views

Using counters within \index{…}

When trying to use a counter value within \index an odd behavior occurs. It seem as if the value would be evaluated at the end of the document, when the counter has already been changed. Therefore all ...
13
votes
3answers
2k views

How to use xindy with XeTeX/LuaTeX?

According to Xindy revisited: Multi-lingual index creation for the UTF-8 age (TUGboat), “if one has a raw index file that was produced by [XeTeX], one can use xindy; it will ‘just work’.” ...
13
votes
1answer
1k views

How do I include all authors of cited works in an index of persons?

I use the splitidx package to create a special index of named persons. \usepackage[makeindex,protected]{splitidx} \newindex[Index of people]{person} \setindexpreamble[person]{...} To index people ...
13
votes
2answers
732 views

Symbol index sorted by occurrence

I would like to make an symbol index which is sorted by occurence of symbol. For example: Something like ... $\omega$\index{$\omega$} ... $A^P_k$\index{$A^P_k$} ... $\{\}$\index{$\{\}$} should ...
13
votes
1answer
385 views

How can I convince hyperref and xindy to play together nicely?

I'm using xindy to generate indexes for a manual that gets translated into multiple languages. Unfortunately, hyperref and xindy don't like to play nicely together. I found some older mailing list ...
13
votes
1answer
303 views

How to move from makeindex to xindy?

Is there an easy, lightweight way to manage multiple glossaries and indices using xindy rather than makeindex? Everything works currently using makeindex, but it's not as nice as it could be. I'm fine ...
12
votes
7answers
967 views

How to get the string with \

Apologized for my unclear description. I wish I could explain my problem more clearly. In document, I wish I can just write something as "how to use \cmd \mbox in xxx" or "what is \cmd minipage ...
12
votes
1answer
3k views

Auto generate an Index

Is there any way to auto-gererate an index for the makeidx package? I've written ~270 pages and didn't think of adding \index{} everywhere. Do I really need to go over everything and add \index{}?
12
votes
1answer
429 views

Visualize index entries in the text?

When I ad an index entry using \index with all the options available for the "format" and "see", and cross-reference, I'd like to see at the place where I make the index entry how this specific entry ...
12
votes
1answer
313 views

Farsi alphabet order for glossary

I am using glossaries with makeidx in a Farsi document with xepersian. Currently it sorts the output using Arabic alphabet order and places words starting with گ, چ, پ and ژ at the end of list. How ...
11
votes
6answers
3k views

Is there an automatic process to create index creation?

Certainly, there must be some way to somewhat create a list of words suggested to be included in an index.
11
votes
2answers
490 views

How can I customise memoir's index to have more than two columns?

Is it possible to customise memoir's index so that it has more than two columns? My index entries are single Chinese characters, so even \twocolindex results in way too much whitespace.
11
votes
1answer
7k views

Makeindex in TeXnicCenter

I need to create an index in my document, so I put the following lines in my preambel \usepackage{makeidx} \usepackage{showidx} \makeindex So, when compiling with TeXnicCenter, I noticed the ...
11
votes
1answer
101 views

Use \index before or after punctuation?

It seems to me that you get different kerning if you use say\index{say}. than if you use say.\index{say} The following silly example is where I can see it: \documentclass[12pt]{memoir} ...
11
votes
1answer
410 views

Create a register of persons with biblatex

How can I create a register of persons who are mentioned in my PDFLaTeX document? I want to write The screwdriver was turned by \person[Mr.]{Miller}. The screwdriver was turned by M. Miller. ...
11
votes
1answer
127 views

Generate a “reverse” index

For reviewing purposes, I'd like to generate a "reverse" index, that would list all the keys per page, instead of the pages per key. That is, in addition to generating the normal index: ...
11
votes
1answer
113 views

Tex capacity exceeded (string characters) (well it's about to be exceeded)

As per my earlier question TeX capacity exceeded (save size), I am generating a fairly large index of .txt, .tex, and .pdf files. This process has worked for a long time, and the size of the index is ...
11
votes
1answer
126 views

How to prevent `doc` from indexing foreign macros?

The doc package, used for documenting LaTeX packages, has the ability to produce an index of all macros used in the package. Index entries can of of three types: where the macro is described, where it ...
10
votes
2answers
117 views

Is it possible to use \index{\command} inside a \DeclareDocumentCommand?

So I've been writing a book of sorts where I've used xparse to create some commands and environments. Now, when the thing is almost done, I realised a index would be great to have! One of the ...
10
votes
2answers
299 views

latexmk / imakeidx interoperational efficiency

imakeidx and latexmk are two of my favorite utilities of all TeX-time, especially in the face of book-size compilations (super thanks @egreg and @John Collins!). Apart from ease of producing multiple ...
10
votes
1answer
217 views

created a fixed page number of an index entry

(First, I would like to state that I am aware that this is a ridiculous and idiotic question. It is for the purpose of a ridiculous and idiotic joke.) I'd like to use \index to add an entry that will ...
10
votes
2answers
99 views

Multiply define a label on purpose

I'm working on a document that needs to have a cross-reference section at the start of the style: Evidence 1 found in Paragraph 1.1, 1.2, 1.3 Evidence 2 found in Paragraph 1.2, 2.3, 3.4 ...
10
votes
2answers
592 views

xindy : how to add new letters and lettergroups to the alphabet?

How to define a style file that adds a couple of extra letters to the latin alphabet, and the corresponding lettergroups? I'm using the index package, and compiling the .idx files with texindy like ...
10
votes
1answer
414 views

Styling very long index entries to look more aesthetic

I wrote the following style for makeindex: headings_flag 1 heading_prefix "{\\bfseries " heading_suffix "}\\nopagebreak\n" delim_0 " \\dotfill " delim_1 " \\dotfill " delim_2 " \\dotfill " which ...
10
votes
1answer
190 views

xindy: formatting the first letter of the first entry of a letter group

How do I format the first letter of the first entry of a letter group in an index generated with xindy? The result should look something like this: ... \indexspace \item \textbf{b}athroom\quad{}1 ...
10
votes
1answer
110 views

Plain text index via pdflatex

I would like to obtain a plain text version of the index so thought it might be easier to extract it from the existing packages somehow. The MWE below produces: What I want is a text file ...
10
votes
1answer
202 views

xindy for ancient Egyptian transliteration

I am preliminarily trying to work with creating a couple of indexes with xindy in a XeLaTeX file. One index will be the normal index about names, and I may disturb the list later on. A second list is ...
10
votes
1answer
171 views

Index: Repeat first-level item on new column/page?

In my family history book, I'm using a two-level index. First level is surname, and second level is given name. Index items are defined such as the following: \index{Doe!John} Often a first-level ...
9
votes
5answers
6k views

Makeindex - Styling the \printindex?

I have two questions: Is it possible to change the titel of the printindex command? It is "Index" by default. How can I format the index as a multi column, alphabetic sorted list?
9
votes
2answers
124 views

spurious whitespace in \index with fixme package

Consider the following example: \documentclass{article} \usepackage{fixme} \makeindex \begin{document} Ignorance is strength\index{strength}. \end{document} Then there will be a white space ...
9
votes
2answers
1k views

Index shouldn't start new page

I am writing an article in LaTeX 2e with \documentclass[twocolumn]{article}, including an index. The document prelude includes \usepackage{makeidx} and the \makeindex command. At the point where I ...
9
votes
2answers
312 views

How to sort alphabet index in Vietnamese correctly?

I want to use index in Vietnamese Alphabetically. The order must be a, b, c, d, đ, e, ê. But in following code. That order is wrong. The first is "Ê", not "A", the second is "Đ", not "B". How to ...