Skip to main content

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
1 vote
1 answer
51 views

Makeindex lost some pages when using custom schem

For a booklet of songs, I have created a custom numbering schems for indexing. Using indtl@wrindexentry, I can refer to song number in .idx The .idx file looks like this. \indexentry{Frère Jacques}{C1}...
Maïeul's user avatar
  • 11k
2 votes
1 answer
201 views

Multiples \index (imakeidx) changes the behaviour of \item_01

I've got a simple problem using the \index command with the imakeidx package. As soon as I repeat the entry, I lose the layout of \item_01 (in the ist file below, a simple \hrule). My simple.ist file :...
ameurdefroid's user avatar
0 votes
1 answer
41 views

rerunfilecheck: where does check on toc come from

I observe the following in my log: Package rerunfilecheck Warning: File `manualLMP.idx' has changed. (rerunfilecheck) Rerun LaTeX/makeindex to get index right. Package rerunfilecheck ...
user2609605's user avatar
2 votes
2 answers
105 views

How can I get automatic code indexing of expl3 in ltxdoc?

How can I get correct automatic indexing of expl3 code in the ltxdoc class? Even better would be if the solution worked with xindy, but makeindex seems the only live option for documentation. Example ...
cfr's user avatar
  • 211k
1 vote
1 answer
15 views

MakeIndex cross reference "see|" does not work for more than one word

I want to cross reference phrases using MakeIndex. For one word cross referenced to one other word, there is no problem. If I try to cross reference more than one word, the reference does not appear. ...
teg327839's user avatar
1 vote
1 answer
46 views

no hyperref in index of html

Here an mwe off this site. If i process it with pdflatex i get the hyperrefs. But if i process it with htlatex the index does not have working hyperrefs. What am i missing? \documentclass{article} \...
FireBird Press LLC's user avatar
0 votes
1 answer
33 views

hyperlink does not appear in index when different counter is used

I am trying to create a bibliographical document which contents several entries and an index at the end. I wanted my index to refer entry-numbers instead of page-number, which I could manage to do. ...
Sushant's user avatar
  • 117
0 votes
1 answer
69 views

Compilation error: Input index file not found, and biber failed

I am trying to compile a LaTeX document using a Windows batch file that includes creating an index and glossary. However, I encounter the following error messages: Compiling test.tex... Input index ...
Foad's user avatar
  • 1,005
4 votes
2 answers
95 views

Label index and refer to it

In my document using the amsbook class. I need to include an index of notation. For that, I'm using makeidx, as explained in the package documentation. Now, I would like to refer to it in the text, ...
Dog_69's user avatar
  • 1,033
1 vote
2 answers
63 views

Hebrew language and \makeindex incompatibility/glitch

NOTE: This issue occurs only with pdflatex; to avoid completely, use a compiler such as luatex instead. I'm using TeXstudio to typeset public domain books pulled off Project Gutenberg. It's kind of a ...
Rich Jensen's user avatar
1 vote
1 answer
33 views

subfiles — compile \printindex separately

subfiles is designed to both work as \input, but also allow to compile a subfile individually in order to save compile time. I have a big multi-file project and I want to test my index style while ...
antshar's user avatar
  • 4,652
0 votes
0 answers
55 views

Error When Compiling LaTeX Document in TeXstudio with Glossaries and Bibliographies in a Separate Build Directory

I am trying to manage the compilation of a LaTeX document using TeXstudio, aiming to keep all compiled files (like .log, .aux, .pdf, etc.) in a nested build folder to keep the root directory clean. ...
Foad's user avatar
  • 1,005
0 votes
1 answer
64 views

Why is \printindex not working?

I have the following document: \documentclass[a5paper]{report} \usepackage[12pt]{moresize} \usepackage{fullpage} \usepackage[T1]{fontenc} \usepackage[pass]{geometry} \usepackage{graphicx} \usepackage[...
1213288's user avatar
  • 330
2 votes
2 answers
194 views

Strange command (\mitchi) appearing in makeindex (.idx) file

In my LaTeX document, I write this: \index{chi@$\chi^2$-score} In another place I write this: \index{chi@$\chi^2$-score|textbf} The first is rendered in the idx file as I would expect: \indexentry{...
Pete's user avatar
  • 203
0 votes
0 answers
24 views

Why does \subitem appear in each index entry for docmfp literate program?

I am working on a Literate Programming project which uses the docmfp package: % \iffalse meta-comment %<*driver> \documentclass[twoside]{ltxdoc} \usepackage{docmfp} \usepackage{url} \usepackage[...
WillAdams's user avatar
  • 6,831
0 votes
0 answers
10 views

Change text for makeindex headings_flag

If I use headings_flag 1 in an mst file with MakeIndex, I get a heading with the title "Numbers". How can I change the text of this string, e.g. in order to translate it into another ...
Iacobus1983's user avatar
0 votes
0 answers
33 views

Index not properly updating in a multifile document using standalone/import

I'm working on a large text, using multiple .tex files. I use the standalone / import packages to merge them into one single pdf document. At this time there are roughly 10 different .tex files ...
PAT's user avatar
  • 101
0 votes
1 answer
82 views

How to make an alphabetically ordered index using imakeidx package?

I am creating a thesis template The problem I am running into while making an index is I want to produce an index page that will look like: Index P Picard, 2 W Warp factor, 11 Right now it looks ...
Guri's user avatar
  • 1
0 votes
1 answer
59 views

How to change sort order of items in index

The default sort order for items in my index is not what I want. By default, it seems all capitalized italicized words are in the first section of the index, sorted alphabetically; followed by all ...
crayman9's user avatar
0 votes
0 answers
51 views

Latexmk: Pass style file to makeindex as an option

We need to pass the -s <our_topelvelsource_directory>/tex/index_style.ist option to makeindex and currently we do that by reading an environment variable that we set prior to executing latexmk $...
Johannes Schaub - litb's user avatar
0 votes
0 answers
92 views

How to create a new index entry using imakeidx package?

THIS IS NOT A DUPLICATE OF THE FOLLOWING ANSWERS! Makeindex cannot generate subsubsub.. index entries How to Permit 4-Level Deep Index Entries (was, "Why are Index Entries Rejected?"} ...
Antonio Maria Di Mauro's user avatar
0 votes
0 answers
5 views

Splitting two index entries whose ranges share a common page or are one page apart

I am using makeindex to generate the index for a large textbook. I frequently have cases where two index entries using the same word or phrase share a common end page for the first range and beginning ...
Brian's user avatar
  • 1
2 votes
1 answer
85 views

Idxlayout Paragraph Form---Adding a Period to Certain Page Numbers

This is a follow-up to Automatically Add a Period After Last Page Number in Each Index Entry Consider the MWE: \begin{filecontents*}{style.ist} delim_t "." \end{filecontents*} \...
DDS's user avatar
  • 10.1k
1 vote
1 answer
99 views

Automatically Add a Period After Last Page Number in Each Index Entry

Consider the MWE: \documentclass[12pt]{article} \usepackage{imakeidx} \makeindex \newcommand\pagedot[1]{#1.} \usepackage{idxlayout} \begin{document} This is a sentence.\index{\textbf{Corresponds to ...
DDS's user avatar
  • 10.1k
0 votes
0 answers
187 views

Use VSCode to generate modified Index

I am attempting to use VSCode to generate an index that is separated by the first letter of the word as shown here I created the .ist file as suggested: headings_flag 1 heading_prefix "{\\textbf{...
Joe's user avatar
  • 9,080
0 votes
1 answer
69 views

How to use addcontentsline{}{}{} inside the index?

I want to add the abstract with its original Roman number. I have the Abstract in the IV page, something like this: \addcontentsline{toc}{chapter}{Abstract}. ` 1 2 But in the index the Abstract ...
NovaR's user avatar
  • 3
2 votes
1 answer
46 views

\index in \newcommand breaks MakeIndex

When I use \index, everything is ok, but when I use \newcommand instead, some large symbols can not show: \documentclass[a4paper,openany,12pt]{amsbook} \usepackage{imakeidx} \makeindex[name = index, ...
Chau Long's user avatar
1 vote
0 answers
31 views

Alphabet order in index and index spacing

I had the following problem with the index: The alphabet order of the words in English: I have the order of capital letters come first then the order of small letters come next. I need the order to ...
Abed's user avatar
  • 11
1 vote
0 answers
30 views

Terminology used before defined

Is there an easy way to list all appearances of all words in the text of a LaTeX document that occur before a makeindex entry for that word arises in that document? When we move text around in a ...
Benjamin McKay's user avatar
2 votes
0 answers
35 views

How can I get exactly one space in .idx? I know how to get two or none, but not just one

Consider the following MWE: \documentclass{ltxdoc} \makeatletter \newcommand*\myindex[3]{% \doc@providetarget \index{#1:\levelchar#2\actualchar{\ttfamily#3}\doc@handleencap{usage}}% } \...
cfr's user avatar
  • 211k
0 votes
1 answer
44 views

Alignment using imakeidx in a gener

I'm trying to align an item of my index. Concretely, the item is created by using imakeidx. My most relevant code is the following: \documentclass[a4paper,12pt]{book} \usepackage{geometry} \usepackage[...
LH8's user avatar
  • 103
0 votes
0 answers
117 views

`imakeindex` does not print index

My problem The following code does not produce the index as expected.I work on Windows 10 in TexStudio and Miktex. I compile to a pdf with pdfLatex. (Thanks, JamesT). \documentclass[a4paper]{article} ...
Alody's user avatar
  • 1
0 votes
0 answers
40 views

Detecting makeindex's level specifier

I am currently writing a small package, and want to write a changelog macro that wraps \index similar to: \NewDocumentCommand{\changes}{mm}{\index{#1!#2}} However, the level specifier ! can be ...
WBob's user avatar
  • 115
0 votes
0 answers
136 views

Is there a way to remove specific characters from argument of a macro?

Suppose we have a macro saying, \NewDocumentCommand\foo{m}{#1} When it eats an argument, I want it to print whatever is in the argument without specific characters. For instance, I want to remove ...
Gau-Syu's user avatar
  • 473
2 votes
1 answer
160 views

equal symbol (=) behaves unacceptably in `doc`

I want to make a document with the package doc. When I type = in \changes, words before = disappear. Why would this happen? \documentclass{article} \usepackage{doc} \begin{document} \RecordChanges \...
Syvshc's user avatar
  • 1,358
0 votes
1 answer
44 views

Index in Title Case automatically

I would like all my index entries to be in title case, though the argument of he index is not. \index{john smith} should result in "John Smith". How to achieve that?
victor's user avatar
  • 725
0 votes
1 answer
42 views

bibleref: adding multi volume book and sorting properly

Working on a book which references a few deuterocanonical/apocryphal books of the bible, most of which are not included in the default bibleref package. Some of these are multi-part books, in the same ...
hanetzer's user avatar
  • 147
4 votes
1 answer
138 views

makeindex style of the book TeXbyTopic

What's the makeindex style of the book "TeXbyTopic"? I use the default style makeindex TeXbyTopic.idx to produce the ind file and there are many "Input index error"s in the log ...
Stephen's user avatar
  • 5,263
3 votes
0 answers
71 views

How to make annotated index in LaTeX?

I am writing a grammar textbook in LaTeX and I am trying to make annotated index of vocabulary. For example, in the main body of the document we have a sentence in Icelandic: Stóð þá Egill upp ok ...
kraanium's user avatar
-1 votes
1 answer
45 views

I need help with customizing my List of Contents

Lads, I want to make a Table of Contents as show in. I've been using the default option, but it is not what I'm looking for. this is what I want: I. PART ONE I. Chapter one 1. subsection A 2. ...
Chanchy's user avatar
  • 13
3 votes
4 answers
70 views

Parsed word segment in second function can not be compared to string in latex?

I would like to parse words by removing always the last segment ("1. Book1 p3" becomes "1. Book1" or "Book2 p4" becomes "Book2"). This I achieved with the ...
ISE's user avatar
  • 31
0 votes
0 answers
122 views

Texmaker: makeindex using "build" subfolder for aux files doesn't work

I've configured Texmaker to create the auxiliary files in the \build subfolder. Everything is working fine, except for the index... while compiling the .tex file, the console says: Process started ...
Trial4life's user avatar
1 vote
1 answer
93 views

Index with hyperreference to the page

I would like to have hyperlink in the index list, like if I press the page 8 it will move me to the page 8. I use the package \usepackage[xindy]{imakeidx} where [xindy] makes it in alphabetical ...
Alessandro Lin's user avatar
1 vote
1 answer
21 views

Index section title not appearing when compiling dtx file

I have a file called _dtx.dtx with the following code: % \iffalse %<*driver> \documentclass[10pt]{article} \usepackage[numbered]{hypdoc} \usepackage{titlesec} \usepackage{hyperref} \...
Michael Fraiman's user avatar
1 vote
0 answers
324 views

Why are ConTeXt entries greyed out in Texworks bundled with a full MikTeX installation?

I installed MikTeX on Windows 10. I made sure every single package is installed and updated them to the latest version. When I open TeXworks bundled with MikTeX, I have a handful of options to compile ...
mith92293's user avatar
1 vote
1 answer
94 views

Index formatting with footnote number has clashed with "See" and "See also"

I am facing an issue in tagging the index for See, See also and some index terms which are in footnotes. Index representing within the footnote was to be reproduced along with footnote number in the ...
Srinivasan Ganapathy's user avatar
2 votes
1 answer
214 views

TeXstudio Macro to change text into \index{text}

I am currently in the process of writing a book, and it's only after I've written almost 200 pages that I realized I didn't take into consideration the index. I'm using the package imadeidx which ...
Saegusa's user avatar
  • 123
1 vote
0 answers
182 views

Page number (or dot fill) in Index not placed in the right place

In my configuration of the Index, the .mst file contains the following: delim_0 "\\IndexDotfill " % Filler between section heading and page number delim_1 "\\IndexDotfill " % ...
Jinwen's user avatar
  • 8,720
0 votes
0 answers
61 views

formatting \makeindex in class file

I'm relatively new to LaTeX and I am trying to learn how to create a class of document based on a book class. I can add an index and have it printed when I compile, as long as I leave everything at ...
user169808's user avatar
1 vote
1 answer
85 views

Indexing Question Numbers

I'm typesetting a math book. Since the book spirals, and there are different types of questions in each assignment, I'd like a simple way to refer students to problem types. I tried using a simple ...
josephgerth's user avatar

1
2 3 4 5
7