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

learn more… | top users | synonyms (1)

10
votes
1answer
850 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
500 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
798 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
334 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
3k 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
767 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
515 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
334 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
646 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
404 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
512 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
568 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
373 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
998 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
460 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
514 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 xxx"....
6
votes
1answer
609 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
534 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
881 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 ...
22
votes
4answers
9k 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} ...
11
votes
2answers
614 views

How can I customise memoir's index to have more than two columns?

Is it possible to customise memoir's index so that it has more than two columns? My index entries are single Chinese characters, so even \twocolindex results in way too much whitespace.
4
votes
1answer
3k views

Is it bug or feature? I cannot use makeidx in beamer.

I attempted to use makeidx.sty in my beamer project. The first two compilation using latex, the input file can be processed successfully. Then I execute makeindex, it also run without error. But ...
2
votes
1answer
561 views

How do I combine formatted page numbers in an index

If I format page numbers in an index, they show up in addition to non-formatted numbers. This minimal example: \documentclass{article} \usepackage{makeidx} \makeindex \begin{document} page 1 \...
5
votes
1answer
308 views

Tagged Sections

A professor I work with has loads of exam problems in LaTeX. However, he wants to index them in some sort. He wants to be able to tag them according to topic, last year it was used and so on, and then ...
16
votes
1answer
2k 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 ...
5
votes
1answer
1k 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
939 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
558 views

How to use the amsmidx package to include multiple indices

I am using the gsm-l class file to write a small text. I want to have two indices at the end, one for names, and one for subjects. So, as instructed in the AMS instructions, I include then line \...
3
votes
1answer
854 views

index and item separation

I'm currently creating an index with the book class. I would like to play with the vertical separation between items in the index. Below is what I am redefining: \renewcommand\@idxitem{\par\...
6
votes
2answers
2k views

Placing a PDF bookmark to the index page?

Using \usepackage{hyperref}and the \pdfbookmark[0]{...}{...} command you can place a PDF bookmark just before the index page generated with \printindex (Sometimes it will point to the empty page ...
6
votes
1answer
1k views

How to produce a combined index from multiple documents?

I'm creating a set of documents which are contained in different LaTeX source files and are going to be compiled into different PDF files. Each one can have its own index, generated using the usual ...
7
votes
3answers
360 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 ...
17
votes
7answers
4k 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.
30
votes
4answers
4k 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 ...
57
votes
1answer
25k 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.