Questions tagged [makeindex]

MakeIndex is a program for sorting the entries identified in a source file by `\index{...}` into the order to be listed in an index. The LaTeX process writes out an `.idx` file, which is the input to MakeIndex. The output of MakeIndex is a sorted `.ind` file, to be read in by LaTeX in the next cycle to typeset the index.

Filter by
Sorted by
Tagged with
4
votes
1answer
1k views

Book template for tex4ebook

I am trying to set up a book template for tex4ebook using memoir and Texlive. The MWE that has everything I want is: \documentclass[ebook,12pt,oneside,openany]{memoir} \begin{filecontents}{test.bib}...
6
votes
2answers
1k views

How to generate an automatic index (concordance) in a large file?

I'd like to generate an index by inputing a large file (1189 chapters, 31'171 verses/sentences) and if possible to set restrictions from minimal word length restrictions to specific words to exclude ...
2
votes
1answer
122 views

Conflict with makeindex using babel and memoir?

Revised question (I've been able to eliminate all extraneous definitions from my original source project and yet still reproduce this error with a MWE.) On the memoir document source below, I've run ...
2
votes
1answer
198 views

Some further issues with index generation and tex4ebook

This is a follow-up of my previous question here. It uses the files provided by @Michal.h21. I have modified the input file as below: \documentclass[ebook,12pt,oneside,openany]{memoir} \begin{...
1
vote
1answer
154 views

Switch on (enable) global hyphenation in Index: in the first line and in \texttt

hyphenation{} does not work in Index in the first line and in \texttt. How can I switch it on? How can we prevent new column when the hyphenation is switched on? Only Index settings of hyphenation ...
6
votes
2answers
890 views

newcommand for index inserts unwanted spaces when using {}

I'm creating a technical document with lots of index entries. To reduce typing I defined an index command that typesets the word to be indexed using \emph{}: \newcommand{\ind}[1]{\index{#1@\emph{#1}}}...
0
votes
1answer
97 views

Formatted index entries within footnotes

I am using formatted subindex entries like this: \index{foo!bar@\emph{bar}} However, subentries appear repeated in the Index whenever I refer one within a footnote environment. \footnote{foo bar\...
7
votes
1answer
488 views

Makeindex, different kinds of references and collation in the index

In reference to the question asked last week on how to deal with different kinds of index-entries: Makeindex and different kinds of references I wondered if it is possible to up the ante. Again this ...
5
votes
2answers
149 views

Makeindex and different kind of references

The manual of Makeindex states: In some indexes, certain page numbers are specially formatted—for example, an italic page number may indicate the primary reference, and an n after a page number may ...
2
votes
1answer
127 views

How get multiple indexes with arara?

How do I have to change the arara commands in the following so that the index of names will also be printed? As it stands, I get just the main index. % arara: pdflatex % arara: bibtex % arara: ...
2
votes
1answer
250 views

Expand \nameref{} before creating index

I am using the theorem environment to arrange equations. I am assigning a distinct label for each equation. Some equations, e.g. \label{equation-a} and \label{equation-b}, are under the same theorem ...
1
vote
2answers
292 views

Remove (delete) unexpected new line when the word in index is long (hyphenation)

When the "word" in \index{WORD} is longer than columnwidth, one can use \hyphenation{} or local rule \- to have the part of word in several lines. However this approach gives the unexpected new line ...
4
votes
1answer
475 views

Stylish index for cyrillic input with xindy!

I trying to stylish index. I want to implement one cool template in my project and edit it a lot for my pleasure. In order to begin that, I want to implement it without any changes. But in that ...
3
votes
0answers
89 views

Indexing error: \mathit allowed only in math mode

I’m looking for any possible clues in trying to track down a cause for the following error while writing or processing the .ind file for a memoir class document (using latexmk with pdflatex): \...
3
votes
1answer
71 views

How modify custom .ist to incorporate repeatindex

Documentation for the repeatindex package says to use makeindex -s repeatindex file (or otherwise enclose each item in square-brackets), but I'm already using makeindex -s file.ist where file.ist ...
3
votes
1answer
121 views

Make index entries refer to a counter and not page numbers

For a given work, I have a continuous numerotation throughout all the document using a counter. I need the index entries refer to the paragraph numbers and not to the pages. This is the same issue ...
2
votes
2answers
316 views

Generating an name index with \index{name@name and surname}

I am trying to generate an index of person names, which are used in a book. On its first appearance, the person is introduced using it complete name (i.e. name and surname and maybe an additional ...
2
votes
1answer
109 views

Foreign language index sort order broken

When I create an MWE below, the sort order in the index is perfectly alphabetical. However when I work with a very large document which uses babel in the exact same manner, the order in the index is ...
2
votes
2answers
220 views

How to change the text of 'see' and 'seealso'

I'm Hebrew user and I'm want to change the title of see and see also at the index (output of course) to Hebrew words: see = ראו see also = ראו גם I look here: Change index "see also" and ...
2
votes
1answer
119 views

multiple indexes in ltxdoc

I want to use multiple indexes in ltxdoc. But if I use the package imakeidx my defined "General Index" disappears and I get the standard "Index". Without imakeidx I do get what I want. Is this a bug ...
1
vote
1answer
27 views

Customizing the Sub-entries of the Index for a Key Person Entry

Consider the subsequent Index which is generated by the following code: \documentclass[12pt]{book} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \begin{document} \large \par ...
1
vote
1answer
44 views

makeindex: how to avoid format inappropriately applied to comma between adjacent page numbers?

Suppose you have a document in which you want to index the word "x" on pages 1, 2, and 4, and you would like to style each of the page number entries in the index in the same way (perhaps each of them ...
1
vote
0answers
124 views

Fix the layout of index with imakeidx: a new implementation

With an ingenious very different implementation, in this answer egreg helped me to obtain a custom style of index with imakeidx package. Although the layout is the one desired, it sometimes does not ...
1
vote
1answer
101 views

Name of printindex and alignment indexes

I have List of indexes in beamer , but it no indent before the name of slide. When I write \hspace it do very big indent . \usepackage{multicol} \newenvironment{theindex}{}{} \usepackage[xindy]{...
1
vote
0answers
97 views

Mark index entries in text itself, like showkeys, with memoir documentclass

This question is just like that of Mark indexed entries in the text itself?, except for use with the memoir document class. How can index entries be marked within the text adjacent to where the \...
1
vote
1answer
714 views

How to assign a new folder path for makeindex in Texstudio?

I have already set a new folder called _build for separating and including the generated aux and bib files of pdflatex and bibtex in Texstudio (with Miktex) as follows: Texstudio --> Options --> ...
1
vote
1answer
376 views

Sorting of roman and arabic page numbers in index

When using different page numberings, the package makeindex first cites the index on roman numbered pages and then on arabic numbered pages. I have an appendix with roman numbering, thus I want to ...
0
votes
1answer
18 views

Indexing - page ranges showing only the first page number

Using imakeidx, let's imagine I have \index{Test} on pages 1 to 4. The output will be : Test, 1--4. How can I get this? (f. meaning following): Test, 1 f. Here is my code : \documentclass[...
0
votes
1answer
400 views

build index from more \include{file} files

is there any easy way (Iʼm not a programmist) how to build and print Czech-sorted index in document which contains more \include files? I donʼt know how to put here a minimal example. so Iʼm working ...
0
votes
1answer
49 views

Index and comma in arabic environment

I want to make an index in arabic environment which is arabic "totally", so where arabic commas are used. From the answer of this question, Is there an easy way to hide comma (,) from the ...
0
votes
1answer
160 views

nonewpage option in imakeidx prevents me from using an .ist file

I want to have my index (using imakeidx) at the beginning of my document, so for that I need to use the nonewpage option. I also want to right-align the page numbers in the index with dots in-between, ...