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
0answers
9 views

A problem with index

In order to create sorted index in Greek language, i build the IDX file and then a run a Perl script named mkindex to do the job. The problem is that in my new Windows 10 PC the lines in the index ...
0
votes
1answer
43 views

Sections do not appear in table of contents with etoc package

I use the package etoc to customize a table of contents in a Tufte-book documentclass, which contains Parts, chapters, sections, bibliography, glossary, index and "index of pieces". I use ...
0
votes
1answer
26 views

Polyglossia and Makeidx

I am trying to index Arabic documents. The idx file generated is: \indexentry{الوعي|hyperpage}{\RLE {١}} \indexentry{المسؤولية|hyperpage}{\RLE {٢}} When I run makeindex, I get this error in ilg file ...
0
votes
1answer
38 views

executing makeindex command in Overleaf

I am writing a book using the Springer SVM monograph class. I want to create multiple indexes, and have found a few resources: How can I have two or more distinct indexes? http://www.texfaq.org/FAQ-...
1
vote
0answers
28 views

How to make index show chapters and sections instead of the page [duplicate]

I am currently working on a logbook template to keep track of my work, and i would like to make an index of keywords encountered during my reasearch, all articles reviews are stored in an appendix (A),...
1
vote
1answer
36 views

How to Display the Indice Page Numbers in Bold?

As the title suggests, given an index, say produced by the code \documentclass[12pt]{book} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \begin{document} \newpage Another sentence\index{...
1
vote
1answer
40 views

How to Have \idxlayout Not Treat \dotfill as Part of the Index Entry?

I am trying to incorporate the effect of \dotfill in producing an Index with the idxlayout package. I have tried this very (basic) approach: \documentclass[12pt]{book} \usepackage{imakeidx} \makeindex ...
1
vote
0answers
55 views

How to Add an Italicized `n' After the Page Number in Certain Index Entries

I am in the process of typesetting a book that was published in 1877; and which has some unusual index entries; more specifically, an n appears after the listed page number: For example, notice ``...
0
votes
0answers
17 views

index sort accented letters after normal letters (after “Z”)! How to put them in a more logical position?

index sort accented letters after normal letters (after "Z")! Is there a way to put them in a more logical position? For example "àncora" is put after "Zorro", instead of ...
0
votes
1answer
24 views

Prevent incorrect expansion of \! in index

I recently upgraded from texlive-2019 to texlive-2020, and my index command broke. The relevant code is: \newcommand{\BasisChange}[2]{[#2\!\leftarrow\!#1]} A change of basis matrix\index{$\...
1
vote
1answer
25 views

How to get \citeyearpar indexed with imakeidx

I know there is a package indxcite which allows you to get \citeyearpar into the index, but I use the package imakeidx and don't want to change all the commands (e. g. \citeyearpar to \iciteyearpar). ...
1
vote
1answer
52 views

pdfLaTeX works fine; pdfLaTeX+MakeIndex+BibTeX returns error. There is nothing in document but \documentclass, \begin and \end document and a word

I am using Texworks Version 0.6.2 (MiKTeX 2.9.6350 64-bit). Originally I had a bibliography but I have taken it out and the error is the same. I am running a file containing: \documentclass{article} \...
0
votes
0answers
23 views

Package hyperref disturb index setup

I am using hyperref and imakeidx packages. I'm trying to put semicolon before "see also" reference and to remove commas preceding first page number. I found @Alan Munn's solution to be not ...
0
votes
1answer
27 views

How to create an index at the end of the book with overleaf?

I'm trying to make index at the end of the book after all chapters, but I couldn't get it. I'm using the following code in main .tex \usepackage{imakeidx} \makeindex \begin{...
1
vote
0answers
28 views

Is It Possible to Extend an Answer for Chronological Arrangement of Index Sub-entries?

A little while back, I ask how to arrange the sub-entries of a particular index entry in chronological order--- Customizing the Sub-entries of the Index for a Key Person Entry and egreg provided a ...
0
votes
0answers
11 views

How can I combine Index of all chapters at the end in a separate chapter together called “index”?

I used in the main tex this package \usepackage{imakeidx} \makeindex Inside each chapter I used \printindex After the below code with indexes Content of chapter two with three indexes indexone\...
0
votes
0answers
36 views

Change , to - in index

How to change , to - in index between the number of the pages? My minimal file: \documentclass[11pt]{book} \usepackage[pagebackref=true, colorlinks, linkcolor=blue, citecolor=magenta, urlcolor=cyan] ...
0
votes
0answers
34 views

Makeindex not working

here is the code that not working, I have no idea, why? The code: \documentclass[]{article} %opening \title{} \author{} \usepackage{makeidx} \makeindex \begin{document} \printindex \end{document} ...
1
vote
1answer
26 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 ...
0
votes
0answers
20 views

Additional spaces in .ind and .idx files

I am really noob with LaTeX, and I am running into an issue with an index: In the .ind / .idx files, spaces are added to some entries, for a reason I cannnot figure. For instance, while the .tex file ...
0
votes
0answers
9 views

Internal link leading to the wrong page

Below I write a minimal working example of a document in which one passes from roman numbering (in TOC) to arabic numbering in the "body" of the document. Note that I use imakeidx package ...
0
votes
1answer
18 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
42 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
36 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
32 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
15 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
19 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
38 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
68 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
122 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
41 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 ...
4
votes
0answers
62 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
70 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
28 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
41 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
87 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
32 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
24 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
27 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
19 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
23 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
119 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
112 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
43 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
120 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
21 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[...
1
vote
0answers
26 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
54 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 ...

1
2 3 4 5