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

learn more… | top users | synonyms

7
votes
3answers
872 views

Is it possible to change .ist (index style) file parameters mid-document?

Apart from the general document layout, the layout and formatting of indexes depend on two things: The parameters of .ist (index style) files that are used by makeindex when transforming raw index ...
7
votes
2answers
203 views

How to reference the Index?

How can I reference the index created by the package makeidx? Minimal working example: \documentclass{scrbook} \usepackage{hyperref} % creates links on refs \usepackage{makeidx} \makeindex ...
7
votes
2answers
193 views

error at \ifnum\luatexversion<68

The following code (minimal example taken from here) \documentclass{article} % Both of these are require to duplicate the problem \usepackage{pgfplots} \usepackage[splitindex]{imakeidx} ...
7
votes
2answers
463 views

Indexing, subentries, and see also

I'm creating an index using makeindex and I can't get the output to look the way I want. Basically, I would like to create an entry formatted as follows: entry1 ~~~subentry1, 2 ...
7
votes
2answers
490 views

Change index font size with imakeidx

I know I can change the index font size combining the imakeidx package with the idxlayout package like this: \usepackage{imakeidx} \usepackage[font=footnotesize]{idxlayout} However I was wondering ...
7
votes
2answers
167 views

Generate only the index, no main body text

I would like to discard the entire document and have only the index remaining. Note: This is a follow up to an earlier question of mine Remove page number from index entries. This document is an ...
7
votes
1answer
412 views

Minimal distance in dotfill

I'm generating an index with dotfills, such that my ind looks like this (extract): \item\raggedright l\IeC {\`e}pre\dotfill \transform{21} \item\raggedright libre arbitre\dotfill \transform{1} ...
7
votes
2answers
203 views

Consistent formatting of short index page ranges

MakeIndex allows for special formatting of ranges of two, three, or more than three consecutive pages within index entries. One may (with the help of .ist style files) change the range delimiter (by ...
7
votes
1answer
94 views

make index started with mathcal mode in the right order

I want to make index something like: $\mathcal{P}$-vector\index{$\mathcal{p}$-vector} but when indexed it comes before words started with 'A' instead of being after 'O' words.
7
votes
1answer
565 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
3answers
1k 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 ...
7
votes
2answers
1k views

How to create two separate indices: Subject index and Index of Authors

I am working on my thesis and I have to include in the text the Subject Index and Index of Authors. I'm using BibTeX (package natbib) and package makeidx for marking the terms for Subject index (I'm ...
7
votes
1answer
545 views

How to locate rejected index enteries

Some of my index entries are being rejected for some reason. How do I determine which index entries were rejected? For instance if I uncomment the \def at the top of the MWE below I see the message ...
7
votes
2answers
122 views

Makeindex without sorting

Can I use makeindex but without sorting? This question looks peculiar but I would like to use index while the index entries (for example \index{Peace} in the document) are already sorted correctly ...
7
votes
3answers
234 views

makeindex: Illegal Roman number

I'm currently writing some appendices and I'm wondering why some keywords don't show up in the index. The page-number is redefined for every section of the Appendix (A..., B..., C..., etc.). I've ...
7
votes
2answers
168 views

Index with a combination of one and two columns

I am using the following to create my index file. heading_prefix "{\n\\bfseries\\color{black} " % insert in front of letter heading_suffix "\\hfil}\\nopagebreak\n" % append after letter ...
7
votes
2answers
184 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 ...
7
votes
1answer
53 views

How to change the colon between index item and first page number?

Using the memoir class to typeset a book I have to change the delimiter between index items and the first page number. The default looks like this: Kant, Immanuel, 12, 13, 14, 15 Hegel, Georg ...
7
votes
1answer
90 views

How to change the \see command when indexing with multind?

I'm trying to change the output of \see in the index. The default outcome is: John Doe see Doe, John. I'd like to add a new command or change this one to my native language. I tried to declare a ...
7
votes
1answer
201 views

biblatex: filter out publications from a specific author without biber with many authors

this is follow-up to a recent question: On my system with TexLive 2012 (biblatex 1.7-1), I am trying to separate the publications of a specific author from all other references (e.g. in case you want ...
7
votes
3answers
174 views

Counting index entries

Is there a way to count the number of entries in an .idx file? Currently I'm using the following to accomplish the job but I'm wondering if there is an all TeX/LaTeX way to accomplish the same thing. ...
7
votes
1answer
145 views

Index at the beginning of a document

Is it possible to insert an index at the beginning of a document, like so?: \documentclass[11pt]{article} \usepackage{imakeidx} %\indexsetup{othercode=\small} ...
7
votes
1answer
343 views

author's index with imakeidx in LaTeX

I am not an expert at all with LaTeX; I used it for the very first time some month ago to compose a conference proceedings volume modifying an already available script. I am trying to refine the ...
7
votes
2answers
157 views

How to add an entry to theindex at item level without page number?

In my index, I would like to group certain items under a group entry name. Sinmce I already use the three levels available (item, subitem, subsubitem), I tried to create an entry without page number. ...
7
votes
1answer
114 views

How to avoid the need to declare already declared items in \index?

Code: \documentclass{article} \usepackage{index} \usepackage{lipsum} \makeindex \begin{document} \section{\index*{Hello World}} Hello World Some text about \index*{foo}. \lipsum[1-15] Hello ...
7
votes
1answer
132 views

Problem with \index in align enviroment

Please compile the following MWE. As you will then see, the typesetting of $\mu^{\otimes\downarrow n}$ in the index is strange! \documentclass{article} \usepackage{amsmath} \usepackage{imakeidx} ...
7
votes
1answer
117 views

Splitting a CSV list from a xkeyval key argument into parts

Is it possible to store the key value argument (a cvs list) to a macro (via \def) and split/further process the content of that macro with \forcsvlist command from etoolbox package? I want to ...
7
votes
1answer
69 views

What are some vim macros to assist indexing a book?

I am about to re-read my 400-page book and mark certain words for indexing. I'm looking for a set of VIM macros that would help me quickly go through the text marking words and group of words to be ...
7
votes
2answers
184 views

Index that picks up on example numbers, not page numbers

I am producing some glossed linguistic texts in a Native American language. The sentences are labeled as, e.g., (2.3)—meaning “text 2, sentence 3”—and I’d like the index to pick up on these numbers, ...
7
votes
1answer
198 views

footnote \index

Dear all I think I have a problem with the collation of makeidx. following some suggestions found here I have got in the text something like this \index[p]{Plutarco!demalignitate@\textit{De ...
7
votes
1answer
118 views

Index for part of document

I have a document with hundreds of \index entries. I'm trying to generate the index for some part of the document. The best I could come up with is to disable the \index command temporarily. I did it ...
7
votes
1answer
694 views

Properly sort index containing utf8 characters?

If my input file is utf8 encoded, how to I create an index where the entries are properly sorted? Minimal example \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{makeidx} \makeindex ...
7
votes
1answer
945 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 ...
7
votes
2answers
85 views

Indexing showing “enumerate” counter instead of page

The default index created by makeidx shows the list of the indexed entries and the pages of the corresponding occurrences. I need to index many words that appear many times in just a few pages ...
7
votes
1answer
91 views

Custom numbers for index

I need to make an index above formatted text of a law. However I dont need to reffer to page number but to the number of section (which is not allways sequential, because there could be holes and it ...
7
votes
1answer
184 views

Using index information to generate cross references

The idea is to use the index information to automatically generate cross references. If an index entry refers to more than 1 page (e.g., "Smith, John 5, 9"), then the index entry along with the other ...
6
votes
2answers
204 views

Automatic prefix in index for words with accented characters

When generating an index with French words, I need to add a prefix to accentuated words so they they get listed in alphabetical order: \index{saintete@sainteté} \index{ame@âme} Is there a way to ...
6
votes
1answer
352 views

Songs Package Index Generation

First of all I have to say I’m Spanish, so I’m sorry for any mistakes in my English. Also, I’m very new at LaTeX. I'm using the songs package to create a songs book. I've been able to typeset songs ...
6
votes
2answers
224 views

How to fix symbol index entry?

All my entries in the symbol index involving $\|\cdot\|$ get rejected. For instance {\index{symbol}{normx@{$\|\cdot\|_X$}}}. How can I fix this?
6
votes
1answer
621 views

“See also” in index entries

LaTeX's indexing packages makeindex and xindy provide good support for the basic features of an index: runs of pages, nested index sub-entries, and cross-references of the form: Yurmurm-Peffifoss, ...
6
votes
3answers
275 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 ...
6
votes
1answer
167 views

How to create index entry for \n?

I can't get LaTeX to generate index entry for newline \n. I tried \index{"\\n"} and \index{"\n"} and \index{\n} and \index{\\n}. None of these seem to work. I am getting errors like: ! LaTeX Error: ...
6
votes
2answers
117 views

How to change the name of Index section

I use the makeidx in the extreport and the command \printindex to print the index out. The Index name (index in English) was translated to Vietnamese automatically into "Chỉ mục". I want to change ...
6
votes
3answers
138 views

What precautions must I take when using custom index commands with memoir?

I'm trying to write my own indexing front-end commands to do things such as highlighting the primary reference, but something seems to be wrong with the sorting. Here's my MWE: ...
6
votes
1answer
220 views

Can I put pdf bookmarks of the alphabetic “sections” of the index?

Is there any way to (automagically) create pdf bookmarks for each "section" of the index? A "section" in the index is for each letter of the alphabet. Make sense? Is there a way to do this? Minimal ...
6
votes
1answer
201 views

How to “clean” what is sent to the table of contents? (Remove index etc.)

I want to use markup commands such as \pkg{classicthesis} that not only typeset the entry, but that have side-effects such as adding a margin note or index entry. (See the example below.) My problem ...
6
votes
1answer
93 views

How to add explanatory text to an index page?

Note: Answers about any of the index-generating packages would be beneficial, such as splitidx or the default makeidx. I've seen some books with explanatory text on their index page after the Index ...
6
votes
1answer
818 views

Acronyms sorted alphabetically in Index

I am using glossaries package with the acronym option \usepackage[acronym,toc,shortcuts]{glossaries}. When my Index is generated, the acronyms are not listed alphabetically but rather as a "Symbol" ...
6
votes
1answer
410 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 ...
6
votes
1answer
230 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 ...