{indexing} is about creating an index or similar lists for your document, usually by means of executing makeindex.
20
votes
2answers
1k 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 ...
17
votes
4answers
2k 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}
...
21
votes
1answer
4k 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.
13
votes
1answer
975 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 ...
6
votes
3answers
323 views
Index is incorrectly listed in the table of contents
I have a large document with an index compiled through makeindex, and is included in my source .tex as follows:
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Index}
\printindex
...
12
votes
2answers
360 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 ...
6
votes
1answer
180 views
Setting the same distance from the top of the page for chapter and index titles
I noticed that the distance from the top of the page to the chapter title differs from the table of contents and list of <> ones. I can see why, as these elements have specific purposes and ...
11
votes
3answers
1k 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’.”
...
12
votes
7answers
799 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 ...
6
votes
1answer
319 views
Applying \lowercase to index entries
I would like to sort the index entries independent of case.
Initially I was getting (code provided in MWE) the image on the left. So, that seemed like an easy fix: just apply \lowercase (uncomment ...
7
votes
1answer
951 views
Layouting the index-page
I'm using \printindex for my index and I wonder how to have
bold page numbers
ordering by first character of the indexed word and have dots
in between the name and page number like
A
Apple ...
10
votes
6answers
2k 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.
7
votes
1answer
247 views
Index with an initial letter of the group [duplicate]
Possible Duplicate:
package makeidx: print first letter for each group of keys
I'm trying to adapt the index of my contribution such that each group of words (starting with the same letter) ...
21
votes
1answer
528 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 ...
7
votes
3answers
383 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 ...
7
votes
2answers
157 views
Listing occurrences of a name through the document in one table
I have a document (article) presenting a list and description of several tasks. Each task is written in either a section or subsection, beside the title and description it includes the name of the ...
2
votes
1answer
188 views
Index hyperlinks to open a PDF file
The usual practice is that the index entries link to a page in the text where the word occurs. I am trying to index a list of files and am indexing each word in the file name. In the MWE below, ...
8
votes
2answers
104 views
Index entries duplicated for captions
In document class book, and package caption, creating index with makeidx.
Index entries for the main text and for footnotes collate properly; but those for captions create their own entries.
Example: ...
5
votes
1answer
237 views
package makeidx: print first letter for each group of keys
I've created index with makeidx package. It works. What really need is to print the first letter above every group of keys (i.e. referring to the image I want to print the red letter, that I have ...
4
votes
1answer
613 views
How to create an index for custom environments?
I have defined a custom script environment, and would like to include an index in the output listing all scripts with their titles. How can I create such an index?
The custom environment looks like:
...
4
votes
1answer
640 views
option delim_0 “\\dotfill” in makeindex ignored by texlive's makeindex ?
I've a problem when making the index with a personal style file. here is my file perso.ist
headings_flag 1
heading_prefix "{\\bfseries\\hfil "
heading_suffix "\\hfil}\\nopagebreak\n"
delim_0 ...
3
votes
1answer
359 views
Automatically index acronyms
I'm using the acronym package. Is it possible to automatically add an index entry each time an acronym is used?
1
vote
1answer
738 views
glossary does not appear
I've placed
\usepackage{glossaries}
\makeglossaries
just before
\begin{document}
as recommended in my preamble. After the main part of my paper I've placed
\newpage
\printglossaries
\newpage
...
14
votes
2answers
683 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 ...
10
votes
1answer
317 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
319 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 ...
9
votes
1answer
5k 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 ...
5
votes
2answers
2k 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 ...
15
votes
1answer
507 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 ...
14
votes
2answers
266 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 ...
13
votes
1answer
208 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 ...
5
votes
3answers
564 views
Setting the name of an index with makeidx and adding to table of contents
I would like to change the name of my index, so that instead of "Index", it reads "Index of whatever I want". I've tried quite a few things:
redefining \indexname, after or before calling \makeindex
...
2
votes
1answer
134 views
How to make indexed words clickable in the text?
I want to make the indexed words into hyperlinks to the entries in the "Index" (something similar to the glossaries package).
I'm using xindy on TL2012 and here is my code:
\documentclass{article}
...
6
votes
3answers
461 views
Creating an index with sub-sub-subentries
For my PhD thesis I need to make a list of works quoted. I thought that using the LaTeX index would be a good idea. But unfortunately I cannot have more than 3 levels in the index. BTW I am using the ...
5
votes
3answers
191 views
list of occurences of references
I need a list like the list of figures for \ref entries in the text to instances of a custom Theorem environment. Here's a MWE with a handbuilt example. The solution should add features to this code I ...
4
votes
0answers
111 views
Why does \let\oldindex not work in this code?
This is a follow-up question to: How to make indexed words clickable
in the text?
I'm having two problems with the code given by @Stephen.
If I use the following code to redefine the \index ...
4
votes
1answer
293 views
Customizing Index - Adding chapter heading and verse number to index entries
I would like to provide the chapter title and the verse number for each entry in the index. This is unusual but the book I am working on requires such formatting.
In the output I want the chapter ...
3
votes
1answer
155 views
The \alph counter representation has strange effects with the glossaries package
This is a follow-up question here
How could glossaries' numberlabel use the manually defined number of Sections(or other Sectional Units)?
A suspect BUG. The parameter \alph doesn't work fine ...
0
votes
1answer
205 views
DB dump into LaTeX with Python and R?
I have quite a large index. I am planning to create a full-blown DB for it and later export the information to LaTeX. I am comfortable with R and Python so I would like to work with them but I feel ...
15
votes
1answer
708 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 ...
12
votes
1answer
252 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
1answer
248 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.
...
8
votes
1answer
341 views
Outputting parameter of \index
When I indicate an index entry using \index I have to type the text of the indexed word twice, in context and as a parameter of \index:
This is an index: Hello! \index{Hello} And ....
And when I ...
8
votes
1answer
205 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. ...
8
votes
1answer
298 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 ...
8
votes
2answers
530 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 ...
7
votes
1answer
669 views
BibLaTeX: sorting alphabetically with non-latin characters (Ś)
Biblatex indexing works very well with latin names. But when an author has foreign name (Łukasiewicz) the Ł letter is changed to \IeC {\L} and makeindex is not able to sort it well. In Polish it ...
6
votes
2answers
241 views
Automatically indexing references by author and year
I'm writing a literature review, and would like to add indices for both authors and publication year (i.e., two separate indices). Now, I could manually enter the appropriate \index{} commands, but it ...
6
votes
1answer
116 views
Using permute with glossaries
There is a problem with using the package permute with glossaries.
A minimal working example:
(by the way a minimal working example to show how an "index of notation" can be created)
...
6
votes
1answer
287 views
MakeIndex and \alph
Whilst reading the manual for MakeIndex I stumbled upon:
MakeIndex assumes that all page numbers are either arabic or lower-case
roman numerals; it assumes that pages numbered with roman ...

