Questions tagged [imakeidx]

{imakeidx} is for questions about the imakeidx package that allows for the index or indices, that are usually typeset at the very end of the document, to be split and sorted so as to include them in the document itself.

Note: this requires the -shell-escape option.

342 questions
5
votes
2 answers

Printindex does only work if put at the end

This minimum example is behaving very strangely on my computer: \documentclass[a4paper]{book} \usepackage{imakeidx} \makeindex \makeindex[name=foo] \begin{document} \printindex %if I delete this line, both indices at the end show up as…
Taxel
  • 329
4
votes
1 answer

Narrower indentation with imakeidx

I've to print an index of name. My code is the following one: \usepackage{imakeidx} \indexsetup{othercode=\footnotesize} \makeindex[intoc=true,title=Indice dei nomi,columnsep=25pt] However, when pages are a lot and the entry for a name request more…
user41063
  • 1,967
4
votes
0 answers

Specifying a path to imakeidx

When compiling, my auxiliary files are placed in a separate folder. How do I tell imakeidx to look in that folder? Currently I have to manually move the .idx file to the same folder as the .tex file in order for it to produce an index. Also, in that…
user44413
  • 601
3
votes
1 answer

Named slide with \printindex

\newenvironment{theindex}{}{} \usepackage{imakeidx} \renewenvironment{theindex}{% \let\item\par % definitions for subitem etc \let\subitem\par …
re1nex
  • 101
3
votes
1 answer

Is there something like 'auto index'?

Before I index 200 pages of my thesis manually, I need to ask if there is a better way to do this? For example, can I specify a file which contains keywords whose locations are to be indexed?
DKS
  • 1,309
2
votes
1 answer

imakeidx with chapter and section name rather than page or section number

I would like to get imakeidx to show the section name (or chapter, subsection, ...) rather than the page number. Is it possible? I thought this was going to be easy, changing section and \thepage in the following, but I cannot find how to change…
Peruz
  • 123
2
votes
1 answer

Smallcaps for page number of index entries in roman style (Imakeidx)

I would like to have the page number of the index entries in smallcaps, at least for the part of the work that uses roman style. Unfortunately, the Imakeidx manual doesn't provide any explanation about customising. This is the MWE % !BIB TS-program…
Teodoro
  • 587
  • 2
  • 9
2
votes
0 answers

imakeidx package - how to insert index in 2-column document?

\documentclass[10pt, a4paper, twocolumn]{article} When index was inserted at the end of document, it breaks the two-column layout, when inserted in the beginning - it's not appear. Is there way to fix it? Here is example \documentclass[10pt,…
2
votes
1 answer

Multiple Indexes: one index for every part of the book

I'm working on a book project which is divided in several parts. Basically at the end of every part I want an index. The index should only lists these words which are mentioned in this part. What is the easiest way to realise this? In my MWE below…
2
votes
1 answer

imakeidx Package ist file is not supported

I am using imakeidx.sty package to generate two type of index like List of symbols, Index. The problem is form.ist file is not working. My form.ist file is headings_flag 0 heading_prefix "{\\bfseries " heading_suffix "}\\nopagebreak" item_01…
CS Kumar
  • 1,253
1
vote
1 answer

Manipulating the Page Numbers of Index Entries

I am creating document containing a list of quotations from a very long book, each quotation associated with a page number (from the book). I would like to create an index to the document containing the page numbers of the book itself, not the page…
user257660
  • 169
  • 6
1
vote
1 answer

Making one index by page and another by section?

I've figured out how to make an second index, and I've found a reference on how to include the section number in the index, and I've found a reference on how to markup different indexes differently, but I'm not seeing how to combine all three. What…
BCS
  • 251
1
vote
1 answer

How to disable ranges with makeindex, instead showing list of pages

I'm using imakeidx to create an index, together with makedindex. In case, an entry is indexed in several consecutive pages, a range is shown (e.g., 5-7). How to disable such ranges and show a list of page numbers instead (5, 6, 7)? makeindex,…
1
vote
1 answer

How can I format the index (\printindex) in a specific way?

I need your help! This is how I made it: \begin{filecontents*}{Idx.ist} headings_flag 1 heading_prefix "{\\hrulefill \n \n \\textbf{" heading_suffix "}} \\nopagebreak" delim_0 "\n\n \\item " group_skip "\n\n…
1
vote
2 answers

Multiple Indexes: one index for one or more chapters

This is a follow-up question to Multiple Indexes: one index for every part of the book! I'm working on a book project which is divided in several parts and chapters. At the end of some chapters (let's say at the end of chapter 2 and 3) I want an…
1
2