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

learn more… | top users | synonyms (1)

2
votes
1answer
2k views

Creation of index style files (complete references)

Where can I get the complete reference for creating the index style files in LaTeX? Could you please help me on this?
15
votes
2answers
2k 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 ...
1
vote
1answer
274 views

Ledmac \pagelinesep and Makeindex

I'm doing multiple indices for a document, using Ledmac with the Memoir class. By default, page and line numbers (produced using \edindex[]{}) are separated by a dash. I actually would like a colon ...
10
votes
1answer
306 views

Making an index of sources quoted

I am working on my PhD Thesis, and need to create an index of all primary sources quoted. I have created "cite" commands so that it automatically adds an index line whenever I cite: \newcommand{\...
14
votes
1answer
630 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 ...
8
votes
4answers
614 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 ...
6
votes
1answer
521 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 ...
5
votes
1answer
1k views

Using multicol in the index

Can I use multicol to make the index split into two? I tried to use multicol but LaTeX keeps spitting some numbers in square brackets. I had to stop after the numbers count reached 15k. \...
2
votes
2answers
271 views

Index moves the text to index

Here is the file I am working with. \documentclass[12pt,a4paper]{book} \usepackage{xkeyval} \usepackage{polyglossia} \usepackage{xcolor} \usepackage{makeidx} \usepackage{multicol} \setmainfont[...
5
votes
1answer
840 views

How to create Index for Verses

I ran into problem of creating index for a book (1200 page) which has around 700 verses and its explanation. I have one main tex file with the preamble. I have 18 chapters in my book, so I created ...
1
vote
1answer
1k views

Error using the package makeidx

My index is working smoothly with the command \makeindex alone. However, when I put \usepackage{makeidx}\makeindex compilation gives two errors as 1. Command \see already defined. \newcommand*...
5
votes
1answer
660 views

How to change chapter created by \printindex to section?

I wonder if there is a solution to the following problem: I wanted to create an index with the package makeidx and the scrartcl document class. \printindex creates a chapter called "Index". But all I ...
3
votes
1answer
1k views

Letting strings start with a capital letter

I am writing a small book and try to build up an index reference. To make it a little easier I wrote a small script that enables my to type a word and also add it to the index: \newcommand{\toindex}[...
11
votes
1answer
322 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. (...
7
votes
2answers
1k 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, i.e....
4
votes
2answers
494 views

How to display proper ranges in index using Xindy and XeLaTeX?

When I generate my index with XeLaTeX using xindy as described here: How to use xindy with XeTeX/LuaTeX? I struggle with proper ranges being displayed. Essentially, the dashes are missing and the page ...
3
votes
1answer
87 views

doc.sty: Print codelinenumbers in index in tt font?

Is it possible to print the index numbers which are referring to a code line number instead of a page in typewirter font. I know that I can change \main, but on this way I can’t change the format of ...
7
votes
2answers
2k 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 ...
4
votes
2answers
3k views

“makeindex” in Mac OS X (Snow Leopard)

I use LaTeX on a Mac, using TeXShop. It is possible to compile an index from within the TeXShop interface, except when I have more than one index (say, people and concepts) for the same text. In this ...
1
vote
1answer
203 views

How can I create an index with indices having a huge amount of sub-categories with LaTeX?

I want to reproduce an index written in proprietary format, doc. It uses weird indexing such as "Aa1", "Aa" and "A". I need indexing tools for doing unrestricted amount of sub-categories in index and ...
4
votes
1answer
309 views

Fixing page number references when adding multiple indices to ToC

Friends, I'm stuck with a funny error: when I add multiple indices in my table of contents, all page number references mess up. It's probably something easy to solve, but I can't figure out what it is....
4
votes
2answers
999 views

\index causing spurious whitespace

I'm having a problem with the \index command causing unwanted whitespace: \documentclass[a4paper,11pt,oneside]{book} \usepackage{makeidx} \makeindex \def \nothing #1{} \begin{document} \noindent ...
1
vote
1answer
129 views

Names and terms

Are there any packages that would help to handle titles and names in the text? formatting: italics, quotation marks index generation: removing articles, rearranging names to Last, First in the index ...
16
votes
3answers
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’.” ...
6
votes
2answers
2k views

“Manual” customizable reference text

For a document I am writing, I am considering a table indexed by references to positions in the text with a description of each item. I know already that I can create a phantom section, and make a ...
4
votes
1answer
2k views

Bibtex and index of authors

Is there any way of automatically creating an author index based on citations via bibtex?
12
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
1answer
838 views

Italic index entries have no link in PDF

I have a problem when adding index entries. When I use just the vanilla \index{...}, the generated PDF contains links on the page numbers in the index. But when using \index{...|textit} to mark index ...
2
votes
2answers
493 views

\pfill probably conflicting with other commands or packages

Friends, I'm stuck with the following issue: I have a document with several indices. The splitidx package deals with them with no problems. It happens that I have some very long index entries, so I ...
10
votes
1answer
778 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 ...
6
votes
1answer
258 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 ...
3
votes
1answer
331 views

Formatting the index from the songs package

I've been using the songs package to generate songbooks. I've been tweaking the package for my needs, but one of the remaining issues is the \showindex command. Consider the following code: \...
2
votes
1answer
119 views

Preserve alphabetical order in index when the entry has a TikZ code

Friends, as a follow up to Overlapping TikZ nodes to look as a tape strip, I added a TikZ code to an index entry using the splitidxpackage. Consider this code: \documentclass{article} \usepackage[...
7
votes
1answer
1k 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 ...
5
votes
1answer
1k 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?
7
votes
2answers
2k 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 ...
4
votes
1answer
755 views

Prevent column break in multicolumn index

I am using imakeidx to generate a multicolumn index with makeindex. Here is an excerpt from my .ind: \item \BRbooktitlestyle {\BRepistlenumberstyle {1}Jean} \subitem \...
5
votes
2answers
511 views

Mini index for subsection

There is the following code: \subsection{some subsection} Some \mindex[mean=aaa]{sentence} with some \mindex[mean=bbb]{unknown} words. \listminiindexfromsubsection The expected output: Some ...
13
votes
2answers
1k 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 ...
6
votes
1answer
171 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: ...
5
votes
0answers
333 views

What should go into index of the document? [closed]

So I have written a programming book and now I am adding \index for different keywords and terms. I am wondering what should I really put into index? If I mention keyword in the document 10 times, ...
17
votes
2answers
641 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). ...
3
votes
1answer
402 views

Changing the style of index levels

I would like to change the style of the levels in an index. For example, let's say I have an index like: Foo bar, 1 barbar, 2 Bar foo, 5 and I would like the first level to be ...
2
votes
1answer
507 views

Redefining ordering in index

I'm generating an index of Bible references (using the bibleref) package. Bible references are usually not sorted by alphabetical order of book, but rather by order of appearance in the Bible (Genesis,...
5
votes
3answers
3k 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 ...
3
votes
4answers
4k views

Gedit LaTeX plugin: How to get bibtex and makeindex to compile too?

I have been using the Gedit LaTeX plugin for over a year now, but I recently converted my references to bibtex. It is my understanding that the plugin should run bibtex and makeindex automatically, ...
5
votes
2answers
554 views

Correct sorting of \index entries containing macros

I use \index in classical way, but also with some macros as content. More precisely, I have some macros like \def\foo{BAR}, and I use then \index{\foo}. Unfortunately, the index is then order by the ...
6
votes
1answer
368 views

Automatically assigning abbreviations to an index in ConTeXt

I'm using ConTeXt to provide layout for my thesis across many files comprising the project. I would like to automatically generate an index based on keywords and abbreviations with minimal hinting by ...
11
votes
2answers
978 views

xindy : how to add new letters and lettergroups to the alphabet?

How to define a style file that adds a couple of extra letters to the latin alphabet, and the corresponding lettergroups? I'm using the index package, and compiling the .idx files with texindy like ...