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

learn more… | top users | synonyms (1)

5
votes
1answer
653 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: ...
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, ...
4
votes
2answers
491 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
308 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 ...
4
votes
2answers
987 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
829 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
491 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
767 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
257 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
329 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
117 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} ...
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
743 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
507 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
332 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
502 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 ...
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
540 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
362 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
966 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 ...
1
vote
1answer
454 views

makeindex doesn't use indexed words

When I use makeindex and try to index a word using Hello \index{World} the entry in the generated \printindex looks like indexfile, 7 instead of World, 7 -- This issue also happens when using ...
9
votes
1answer
3k 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 ...
13
votes
1answer
9k 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
509 views

Multiple indices with ledmac and the book class

The package for critical editions, Ledmac, provides an \edindex{} command to have references to the page and line number in the standard Makeindex index. The package documentation also specifies that, ...
2
votes
1answer
2k views

pdflatex with index suddenly fails with undefined control sequences

The document I have been working on has built the index fine in the past. I have since made some changes to Part and Chapters, and re-arranged things in the preamble a little. Now pdflatex, mkindex, ...
4
votes
2answers
2k views

Running head in LaTeX book is wrong

I have a book with 14 chapters, two appendices (each chapter and appendix in a separate file), and a bibliography and index. This is set up as: Preamble \mainmatter include chapters \appendix ...
13
votes
7answers
1k 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
592 views

Combining bold and multi-page index numbering

Wish to have some multi-page Index numbering (e.g.: \index{Text|(} \index{Text|)}) appear BOLD. I tried adding \index{Text|textbf} but got no BOLD. What's the trick?
3
votes
1answer
528 views

makeindex page entries are all underlined

Set up an index for a book and everything works well, except the page numbers listed for the words in the Index are all underlined---EXCEPT when I add bold face, then they look fine. Any ideas what ...
3
votes
1answer
867 views

Redefining the \printindex command and changing it to a desired form

In book class, I want to redefine the \printindex command and change it to something like the following: ‎\addcontentsline{toc}{chapter}{‎Index}‎‎‎‎ ‎\fancypagestyle{plain}{%‎ ‎\fancyhf{}‎ ...
5
votes
2answers
16k views

input index file not found

Dear experts I am using TeXnicCentre. After compiling, while I get an output pdf file, an error is found that says Could't find input index file *pathname* nor *pathname*.idx I am afraid I cant ...