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
0
votes
1answer
14 views

glossaries newacronym sorts by short field, even if short is given as a command

For my documents, I like to define sub- and super-scripts (in German: Indizes) as commands with \newcommand{}{} to make a cascading structure of shortcuts for frequently used abbreviations. This has ...
1
vote
2answers
41 views

Expanding a macro into \index for sorting using expl3

I have a document with requirements marked up in text with a custom macro \Req{}, which takes a comma separated list of identifiers of the form [A-F]:[0-9]{4,5}([0-9]{1,2})?, outputs the identifiers ...
0
votes
0answers
34 views

Incompatible versions of luatex problem

When I run the code below, I get an error about Package ifluatex Error: Name clash, \ifluatex is already defined. Oddly, it says the error is on line 174, but there are not that many lines in the ...
3
votes
1answer
26 views

“Numbers” heading in custom index with bibleref package

I'm getting some odd behavior in my Scripture index using the bibleref package and a style file. The word "Numbers" is unexplicably appearing as a header in the index. MWE: \documentclass{...
0
votes
0answers
11 views

index and glossaries together

This image is a translation of a book in hyperbolic geometry. As we see, the index page, is set in three columns, the index entry, the page number referring the index and English equivalent of the ...
1
vote
0answers
15 views

Eliding premature tokenisation in index macro

I am generating a very large number of index entries containing formatting in a LaTeX document, and some of them are in regions that affect the premature tokenisation of the argument (footnotes, ...
1
vote
1answer
29 views

Make an index for an external pdf file

Here's what I am trying to do: I have a large scanned pdf file and I want to make an index page so that I can jump to a given page by clicking on a link. So far, I managed to do that, but I would like ...
0
votes
0answers
67 views

Texworks - the error line is not correct in a private subsubsection

I am using Texworks but I have a problem to find out where is the error directly. I have defined a private subsubsection using \newcommand. If I use \subsubsection, I am able see the error line ...
0
votes
0answers
36 views

Building old latex file - Forgot series of commands, still got old .log file

So I have to make some editions to an old 200 pages latex file which has tikz, figures, bibliography, indexes, etc. Since the last time I compiled it, I changed the build commands to compile more ...
0
votes
1answer
47 views

I keep having an empty page in front of my nomenclature

I am doing a project work report and I keep getting the same problem. I have a nomenclature and just before it an empty page with the heading "Stichwortverzeichnis" which is german for index ...
0
votes
1answer
30 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 ...
2
votes
0answers
35 views

Create single column index with future items and no title

I have a document where I mention external references, sometimes more than once. I want an index of these mentions somewhere at the beginning of the document. And I do not want a title above. And I ...
3
votes
2answers
48 views

imakeidx does not run makeindex when output-directory is set and named index does not work

I'm trying to make a document with an index. I have two issues with that (probably both caused by the first. I use the package imakeidx since that should run makeindex automatically, but it does not. ...
3
votes
1answer
23 views

Problem with equals sign in doc \changes

When documenting a class/package with the doc package (or some derivative), what's the best way of including a literal equals sign in the text of a \changes command? Since = is used as a special ...
1
vote
0answers
33 views

author indexing with natbib and imakeidx

I'm hoping to produce an index of cited authors. I'm using imakeidx and natbib and calling \citeindextrue in the document, but the citations simply do not seem to register in the resulting .idx file (...
1
vote
0answers
66 views

Index sorting with a mix of greek and roman letters and single letter index entries

A mix of Roman, Greek, and single letter index entries I am typing my thesis and have a mix of regular words, mathematics using greek symbols, and the occasional one letter word (such as the ...
0
votes
0answers
23 views

TeXshop (4.44) Index not generated

Have attached the screenshot below: But the Index entry was not created, if I do manually like makeindex a-course-in-surgery-theory-pup-symbols then it works properly. What will be the reason for ...
0
votes
0answers
22 views

index description close to number

I'm starting with latex. I've a template what does my index. The index in even pages is doing well, but in odd pages, the description is close to the number: This is going ok: But here, you can se ...
0
votes
0answers
19 views

xpatchcmd patch to makeindex

I want to use zhmakeindex to generate indexes in the language of Chinese, with an investigation of the package imakeidx, I try to patch the \imki@exec as \xpatchcmd{\imki@exec}{\imki@program}{...
0
votes
0answers
16 views

How to handle line-wrap in index page?

Im using the package makeidx to generate an index page with two columns. When a term is slightly longer than a column, it just overflows instead of a line break. How do I handle this? My code: \...
1
vote
1answer
21 views

Index suffix and page ranges

Following this question, I have a new challenge for you ! Quick summary : For a given index entry appearing on pages 1 to 4, I need page ranges on my index to appear as " 1 s." and not "1--4". This ...
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[...
3
votes
1answer
104 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 ...
3
votes
1answer
91 views

imakeidx : create a fancy style with TikZ, with a rectangle with one rounded corner

I am trying to create a nice looking style for my index. Here is what I have achieved vs. what I want to reach : Achieved : Goal : Here is my file tablealphab.ist : heading_prefix " \\vspace*{0....
0
votes
1answer
42 views

Beginner's question: accented words in makeindex

My makeindex 2.12 changes all accented words (as they appear in Spanish) found the .idx file into strange words in the .ind file: all accented letters are changed into strange letters. In fact my ...
1
vote
0answers
116 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 ...
0
votes
0answers
18 views

Headings within index

I am writing currently on a mathematical text using latex. In the end of the text, there is a section including two indices: An index of words and an index of mathematical symbols: \documentclass[...
0
votes
0answers
23 views

How to index company names in figures?

I am writing an article in TeX and use the imakeidx package to generate an index at the end of my document. This works well as long as the selected word is in the text. However, I also have a lot of ...
4
votes
1answer
46 views

How to define customized keyboard shortkeys in TeXstudio?

I am writing an article in TeXstudio and want to include an index that contains (many) selected keywords that have already been written. To do so, I use the imakeidx package. Is there a possibility to ...
0
votes
1answer
838 views

LaTeX on VS Code: pdf viewer does not update, and can only run one file in a folder

I am trying to use VS Code on Windows 10 x64 with LaTeX Workshop 8.7.2 to compile documents in LaTeX. I am facing three problems: The PDF viewer that is displayed in a tab in VS Code does not ...
0
votes
1answer
37 views

How to stop index letter headers being at the bottom?

I have a (three column) index with letter headers at the start of each alphabetic set of entries. In some cases the letter headers are at the bottom and the following entries start at the top of the ...
0
votes
0answers
23 views

Memoir glossary sort by order of appearance

I am using the glossary-realted macros from the memoir class to generate a list of symbols. Ideally, this would not be sorted; that is, I would like entries to appear in the order that they are ...
0
votes
0answers
39 views

Is there any way to define a command such that it prints page numbers of its argument in the whole document?

Is there any way to define a command such that it prints page numbers of pages containing the exact word of its argument in the whole document? For example call this command \mycmd{}. by using \mycmd{...
1
vote
0answers
37 views

Add answers at the end of book

I use the report class to write a booklet with exercises for students. Each exercise is defined in a subsection. The structure is: \documentclass[a4paper,11pt,oneside,onecolumn]{report} \begin{...
1
vote
1answer
73 views

\indexsetup and intoc from imakeidx package problem

I'm writing a little documentation in which I'll use some indexes per section, everything is OK using the default options of the imakeidx package, but, when trying to use \indexsetup things don't work ...
0
votes
0answers
36 views

hyperref and index not working

A click on an index entry ends always on the first page of the book \documentclass[envcountchap,sectrefs]{svmono} ... \usepackage[makeindex]{imakeidx} \usepackage[bookmarksnumbered, hyperindex, ...
3
votes
1answer
65 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
0answers
73 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): \...
0
votes
0answers
95 views

makeindex: nomencl.ist unknown specifiers lethead_prefix, lethead_suffix

When I run makeindex on a large (book-length) document (I'll call it doc here) that uses documentclass memoir and includes... \makenomenclature \makeindex[names] \makeindex ... I'm seeing the ...
1
vote
1answer
29 views

Redefining Page Numbers Makes Index Disappear

This is my code: \documentclass[a4paper]{scrbook} \usepackage{imakeidx} \makeindex \begin{document} \renewcommand*\thepage{\thechapter---\arabic{page}} text\index{test} \printindex \end{document} ...
1
vote
1answer
26 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 ...
0
votes
0answers
40 views

Different index on Windows and Linux

I'm getting an weird issue when compiling the same file on different operating systems. More specifically, compiling on Ubuntu words beginning with ä, ö, ü will come first, while on Windows they will ...
1
vote
0answers
33 views

Makeindex: Greek and Latin letters sorting

I am using makeindex to generate a list of symbols. But by default, it sorts Greek letters before Latin ones, I'd like it to be the other way around. Is there any way to do it, possibly with some .ist ...
0
votes
0answers
21 views

How to control particular entry punctuation and some text insertion after the page range through makeidx index generation

I am using makeindex package for index generation. But i am facing problem to generate below customized index generation. The following index entry should be control without punctuation and hyperref ...
1
vote
1answer
54 views

Switching from makeindex to xindy removes the index from TOC

I need xindy for Russian sort order in the index, but once I replace makeindex package with xindy the TOC entry for the index disappears. How can I restore the index TOC entry? \documentclass{memoir}...
0
votes
1answer
30 views

Why does memoir class encode the contents of .idx file and how can it still be used to produce a properly sorted Russian index?

When using the answer I faced the following error message on the 2nd pass (with pdflatex): Undefined control sequence. \item \T It originates from the entry in the .ind file: \item \T2A\CYRD \T2A\...
0
votes
1answer
109 views

MakeIndex indexing \texttt{} under “Symbols” and not by letter

I've began adding an index to my Latex project using imakeidx and have run into a small problem: When writing the code \index{\texttt{float} data type} my index shows up as the following: It is ...
0
votes
1answer
45 views

! Package undolabl Error: Label `pagesLTS.roman.local' shall be overridden

I am facing following problem: After compiling or indexing my document with different compiler (BibTex, Biber, Makeindex) PDFLaTeX doesn't compile anymore and throws following error: ! Package ...
1
vote
1answer
96 views

Color entries of an index

Makeindex with option-s *.ist does not print the indexes. What do options=* mean? Is any command that allows me to colour the entries of the index? I use TexWorks with Miktex. Thanks for your help. \...
5
votes
1answer
79 views

Lessons learned in creating a large book index

I am handling the Collected Papers of a colleague who has died several years ago. We are preparing to publish (as a series of books) about 5000 pages of mathematics that he wrote. I have almost ...