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

learn more… | top users | synonyms

8
votes
1answer
309 views

texindy equivalence to makeindex settings

I'm currently using makeindex to generate an index and was advised by @egreg to use xindy instead to properly manage accents in French. However, I can't find how to reproduce my current settings: ...
8
votes
1answer
176 views

imakeidx: Is it safe to direct \index to an undefined index?

I am (still!) writing a biblatex style for legal citations. I am about to tackle indexing, and I want to make sure I have a viable plan. It's a pretty critical part of the project. Here's the issue. ...
8
votes
1answer
44 views

Nicely showing 'special' index entries in the margin

I want to show index entries in the margins. Here's what I'm doing: \documentclass[a4paper, 12pt, twoside]{report} \usepackage{kantlipsum} \usepackage{marginnote} \let\oldmarginnote\marginnote ...
7
votes
3answers
350 views

How to create an index entry for “|| operator”?

Following the \index quoting rules (prepend a reserved character with a double-quote), I do \index{"|"| operator} but the entry never shows up in the index. Doing these (similar) things does work ...
7
votes
2answers
288 views

Indexing does not work with index package

I am trying to do indexing with the following code: \documentclass[a4paper]{article} \usepackage{index} \makeindex \newindex{aut}{adx}{and}{Name Index} \begin{document} Hellow \index[aut]{FiRST} ...
7
votes
3answers
1k 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
224 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
5k 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 ...
7
votes
2answers
203 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
613 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
171 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
442 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
222 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
96 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
617 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
620 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
1answer
142 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 ...
7
votes
2answers
135 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
272 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
1answer
1k 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" ...
7
votes
2answers
187 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
185 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
66 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
104 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
235 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
188 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
88 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
1answer
183 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
2answers
165 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
122 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
140 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
81 views

What is the proper use of several \seealso in the same index entry with makeindex?

If one uses \index{invariant!\relax|seealso{Lorentz invariance}}% \index{invariant!\relax|seealso{speed of light}}% in a .tex file, the makeindex program produces a warning in the .ilg file, when ...
7
votes
1answer
129 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
279 views

Texindy sorting Icelandic

I use command texindy -L icelandic -M lang/icelandic/utf8 dict_main.idx to create a list of the names of the photographes, their authors and licenses. But the sorting is not correct (for example ...
7
votes
1answer
257 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
122 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
796 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
1k 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
97 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
111 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
276 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
236 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
2answers
249 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
705 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
281 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
2answers
951 views

Specify .ist-File for latexmk in TextMate

So I'm using latexmk.pl to compile my TextMate LaTeX Project and it's running quite nice. The only thing I'm missing, is, that i want to specify an individual style file for the makeindex command, ...
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
153 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 ...