{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
696 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 ...
26
votes
1answer
9k 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
1k 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 ...
21
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 ...
20
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
335 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
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 ...
18
votes
3answers
578 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 ...
18
votes
1answer
374 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 ...
17
votes
1answer
1k 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 ...
17
votes
2answers
557 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
359 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
2answers
775 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
579 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
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{}?
14
votes
1answer
601 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
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 ...
14
votes
2answers
528 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
327 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 ...
14
votes
1answer
508 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 ...
13
votes
3answers
269 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
7answers
985 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 ...
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
3answers
832 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
433 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 ...
12
votes
7answers
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.
12
votes
1answer
439 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. ...
12
votes
1answer
471 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
2answers
201 views

Indexing through texindy in imakeidx with custom .xdy style fails to produce desired order in index

I am trying to produce an index using texindy through the imakeidx make that follows the Sanskrit alphabetical order. I am working in XeLaTeX. I created a custom .xdy style file to be called as an ...
12
votes
1answer
322 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
2answers
365 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 ...
11
votes
2answers
497 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
110 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
221 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 ...
11
votes
1answer
134 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
172 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
230 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 ...
11
votes
2answers
846 views

Make index entries refer to something other than the page numbers

For a given book which is a daily devotional, I have no page numbers at all, but each section corresponds to a day in the year, with one day per page. I generate an index of Bible references in the ...
11
votes
1answer
150 views

Index problem when using l3doc for LaTeX document writing

I use l3doc to write document for my package. In the document I need describe macros, environments and options of the package. I started using the environment function only. After the tip came from ...
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 ...
11
votes
1answer
259 views

Create arbitrary sorting of index entries

How does one go about setting an arbitrary sorting order in an index? For example, I would like to create an index of citations to Roman and canon law, which should not be sorted alphabetically. ...
10
votes
5answers
7k 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?
10
votes
4answers
187 views

putting two indices and exponents side to side

I did not find the answer to my following question on the web. I apologize in advance if this question has already been answered somewhere. I would like to write a matrix with the two subscripts and ...
10
votes
2answers
127 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
336 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
2answers
2k 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 ...
10
votes
2answers
116 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
1answer
505 views

Group glossaries by first letter

I am using glossaries with xindy. It groups entries by first letter and puts a vertical space between groups. How can I change the style of output to show the starting letter for each group at the ...