As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [indexing]

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

Filter by
Sorted by
Tagged with
93 votes
1 answer
74k 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.
vanden's user avatar
  • 30k
69 votes
1 answer
8k views

Differences between "xindy" and "makeindex"

I'd like to know which are the essential differences between makeindex and xindy (or texindy) in this sense: What things can we do with xindy that we can not do with makeindex? or vice versa. What is ...
skpblack's user avatar
  • 8,716
55 votes
4 answers
28k 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{}?
Filip Ekberg's user avatar
  • 2,493
52 votes
6 answers
19k 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 ...
vanden's user avatar
  • 30k
45 votes
2 answers
2k 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 ...
Brent.Longborough's user avatar
44 votes
1 answer
39k views

Best solution for acronyms, abbreviations, glossary and index

I am writing a scientific text/book which will contain acronyms, which should have a glossary and should also have an index. The question is: which LaTeX setup is best for this? Which are the best ...
masgo's user avatar
  • 719
35 votes
3 answers
21k views

How to add \printindex to tableofcontents

I want to add the \indexname to the table of contents and to the bookmarks. Now, I know one way to do this job: add the follow code before \printindex: \phantomsection \cleardoublepage \...
pythonee's user avatar
  • 2,507
34 votes
1 answer
4k 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 ...
Peter Grill's user avatar
32 votes
4 answers
15k 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} ...
Nate's user avatar
  • 579
31 votes
3 answers
8k views

Hyperref and imakeidx do not work together

I use imakeidx package to generate index in my document. I'd like to add hyperlinks into my Index, but it seems to me that hyperref and imakeidx do not work together. For example, this code doesn't ...
Physicsworks's user avatar
  • 1,305
31 votes
2 answers
72k views

Best LaTeX Templates for books and lecture notes

I have written and submitted a lectures series in mathematics in arXiv, arXiv:1211.3404. Its format is book, but I have some difficulties with it. For example for page numbering, indexing, etc. I am ...
user avatar
29 votes
1 answer
6k 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 ...
jvriesem's user avatar
  • 1,149
25 votes
3 answers
2k 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 ...
godbyk's user avatar
  • 7,607
23 votes
8 answers
6k 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.
txwikinger's user avatar
  • 3,787
23 votes
1 answer
4k 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 ...
Village's user avatar
  • 13.2k
21 votes
2 answers
2k 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 ...
Sony's user avatar
  • 3,890
21 votes
2 answers
2k 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 ...
jon's user avatar
  • 22.1k
21 votes
2 answers
3k 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 ...
jlconlin's user avatar
  • 9,932
20 votes
2 answers
5k 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 ...
Martin Thoma's user avatar
  • 18.3k
19 votes
3 answers
20k views

Index not working [closed]

I'm working on a document. There's an index there, but for some reason when I change things in it it doesn't update the rendered outcome and I can't correct it. I tried erasing the .ind file, but ...
user25291's user avatar
  • 191
19 votes
1 answer
4k 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 ...
Peter Grill's user avatar
19 votes
1 answer
27k views

Makeindex no .nls file

Here is the sample code from test.tex: http://texblog.org/2012/05/14/list-of-symbols-or-abbreviations-nomenclature/ \documentclass{article} \usepackage{nomencl} \makenomenclature \renewcommand{\...
Kasun's user avatar
  • 203
19 votes
3 answers
2k 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 ...
Paulo Cereda's user avatar
  • 43.8k
18 votes
2 answers
653 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 ...
Khaurum's user avatar
  • 245
18 votes
3 answers
3k 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’.” ...
Caramdir's user avatar
  • 87.4k
18 votes
2 answers
2k 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. ...
neptun's user avatar
  • 181
18 votes
1 answer
3k 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 as ...
Jakob's user avatar
  • 1,214
17 votes
5 answers
22k 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?
Skip's user avatar
  • 1,135
17 votes
3 answers
475 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 ...
StrongBad's user avatar
  • 20.3k
17 votes
4 answers
4k views

Sorting index entries with accented words

Friends, I'm struggling for some time with this disturbance in the TeX force: I have a set of words in Portuguese which are accented. When sorting these words, we treat accented letters the same way ...
Paulo Cereda's user avatar
  • 43.8k
17 votes
1 answer
9k views

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 not the issue. I have added logic to insert additional links ...
Peter Grill's user avatar
17 votes
2 answers
919 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). ...
Caramdir's user avatar
  • 87.4k
16 votes
2 answers
888 views

How can I prevent a column break before the first sub-entry in the index?

I am writing my indices with imakeidx and I want to use sub-entries as well. As you can see on my image, I am getting a column break which I think is making it more difficult to understand. Can I ...
LaRiFaRi's user avatar
  • 43.2k
16 votes
1 answer
4k views

Index ordering when using math symbols

I'm making an index where certain entries start with the math symbols $k$, $\mathcal{C}$, $\ast$-a.... In the first two cases, I want them to appear in the index as if they start with k and c ...
Eivind Dahl's user avatar
16 votes
3 answers
3k 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 ...
bitt.j's user avatar
  • 603
16 votes
2 answers
4k 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 ...
user448810's user avatar
  • 5,375
16 votes
2 answers
1k 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 ...
schremmer's user avatar
  • 2,107
15 votes
7 answers
3k 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 xxx"....
Kuang-Li Huang's user avatar
15 votes
3 answers
2k 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 ...
minthao_2011's user avatar
  • 4,444
15 votes
1 answer
2k 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 ...
Matthias Pospiech's user avatar
15 votes
2 answers
1k 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.
imnothere's user avatar
  • 13.9k
15 votes
2 answers
862 views

Use xindy to sort by bible book instead of ABC – or: How to add custom letter groups?

I try to generate an index which entries are not group by normal letters A, B, C, … but by books of the bible eg. Num, Dtn, Ps etc. So my question is how can I define a custom list of letter groups ...
Tobi's user avatar
  • 55.1k
15 votes
2 answers
1k views

Mark indexed entries in the text itself?

I will be working with a professional indexer of the old school — meaning that she prefers making her index on cards using a pencil while looking at a finished book whose pagination will not change — ...
brannerchinese's user avatar
15 votes
2 answers
2k 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 ...
raphink's user avatar
  • 31.4k
15 votes
2 answers
1k 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 ...
rsandell's user avatar
  • 153
15 votes
1 answer
718 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 ...
Mohammad Hedayati's user avatar
15 votes
2 answers
535 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 ...
Christopher Fritz's user avatar
15 votes
0 answers
441 views

Guidelines for creating an index [closed]

This is not necessarily a LaTeX-only question, and it is a bit open-ended, but given that this community is clearly very detail-oriented, and it is a general-interest question, I think that this is a ...
yori's user avatar
  • 5,641
14 votes
3 answers
821 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 ...
Jakub's user avatar
  • 355
14 votes
3 answers
1k views

Index in Swedish sorting order ( ...YZÅÄÖ...) with xindy and LaTeX

I still haven't succeed to sort Swedish letters in the index list with class article in the correct order. I've tried it with specifying a sort key, i.e. \index{g~ra@göra}, but the result is not ...
Mr_SEkh's user avatar
  • 161

1
2 3 4 5
28