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
1 answer
27 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
24 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
69 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
3 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
78 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
  • 8,796
1 vote
1 answer
89 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
  • 8,796
0 votes
0 answers
107 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,070
0 votes
1 answer
56 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
39 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
26 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
27 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
31 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
  • 197k
0 votes
1 answer
42 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
77 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
34 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
118 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
  • 463
2 votes
1 answer
158 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,328
0 votes
1 answer
41 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
  • 705
0 votes
1 answer
33 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
133 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
  • 3,544
3 votes
0 answers
44 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
0 votes
0 answers
18 views

Overwriting an External Index Style File from filecontents Environment

I'm using the filecontents environment to make a small index format inside a tex input file as follows: \begin{filecontents}{format.ist} headings_flag 1 heading_prefix "{\\bfseries\\hfil&...
Ammar Taha'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
66 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
87 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
75 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
20 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
289 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
92 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
187 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
157 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,336
0 votes
0 answers
42 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
83 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
0 votes
1 answer
35 views

How to produce letters to separate groups in makeindex

I read that the lethead_flag specifier with a positive integer attribute will cause makeindex to insert lethead_prefix and lethead_suffix with a capital letter between them at the start of a new ...
J Robert Buchanan's user avatar
1 vote
1 answer
436 views

LaTeX to Epub Conversion

I would like to convert epub file from LaTeX or XML. Could you please advise which is best way for that? LaTeX to EPUB Conversion? XML to EPUB Conversion. TeX4HT? Make4HT? Pandoc? Which is the best ...
Balaji's user avatar
  • 2,282
0 votes
0 answers
17 views

These commands do not generate de fle .ind [duplicate]

\documentclass[10pt,a4paper,twoside]{book} \usepackage{amsmath,bm}% \usepackage{amsfonts}% \usepackage{amssymb}% \usepackage{makeidx} \makeindex \begin{document} \renewcommand{\indexname}{Index} \...
Carlos Bastero's user avatar
0 votes
1 answer
243 views

About .ind and .idx

I do not know why after creating the file .idx, LaTeX does not create the file .ind. I am using the following commands: In the preamble \usepackage{makeidx} \makeindex at the end \printindex
Carlos Bastero's user avatar
1 vote
1 answer
124 views

Make4ht with MakeIndex

When I us PDFLaTeX it's compiling fine. I would like to convert LaTeX to HTML using Make4ht but it's showing an error. My MWE is: \providecommand{\pgfsyspdfmark}[3]{} \documentclass{acm-book} \...
Balaji's user avatar
  • 2,282
2 votes
1 answer
142 views

Line-breaking problem produced by \dotfill and long index entries

First an MWE and its index page are as follows. \documentclass[12pt]{article} %%%index setting%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{imakeidx} \usepackage[colorlinks,linkcolor=blue]{hyperref} \...
M. Logic's user avatar
  • 4,117
0 votes
1 answer
102 views

zhmakeindex is denied when to make Chinese index with imakeidx

First an MWE is as follows. \documentclass{ctexart} \usepackage{imakeidx} \usepackage[colorlinks,linkcolor=blue]{hyperref} \makeatletter \def\imki@progdefault{zhmakeindex} \makeatother \makeindex \...
M. Logic's user avatar
  • 4,117
1 vote
0 answers
135 views

Justifying problem on index entries

First an MWE and its output to the index page are as follows. \documentclass[a4paper]{article} \usepackage{idxlayout} \usepackage{imakeidx} \makeindex[columns=2,columnsep=2em] \begin{document} ...
M. Logic's user avatar
  • 4,117
1 vote
1 answer
493 views

How to add "Nomenclature" in "sn-article" Springer through winedt?

The problem: How to add a "Nomenclature" section for Springer journals in a 1-column format at the after abstract and before introduction? So, I googled a lot for this problem and finally ...
ahad's user avatar
  • 11
0 votes
0 answers
163 views

Custom Alphabetical Order for Index (Turkish)

I need your help for building a proper index for a book in Turkish language. I am using \usepackage{makeidx} to build my index, which produces the following image as a sample. Here as you may see, ...
bkarpuz's user avatar
  • 2,427
0 votes
1 answer
62 views

How to "\DoNotIndex" an environment?

I'm writing a dtx file for a class I created. I'm using \EnableCrossrefs, but I have the minted environment indexed. \DoNotIndex{minted} does not work. How do I tell makeindex to not index a specific ...
Martin's user avatar
  • 3
0 votes
1 answer
55 views

Why does exclamation marks create linebreaks in the Index of first lines? (Poetry package)

I'm using the Poetry package to create an anthology of poems. The package provides an automatic creation of an Index of First Lines, which works well -- except, it turns out, when the first line ...
Wilhelm's user avatar
  • 75
0 votes
0 answers
21 views

error on pagebreak in index of makeindex when using center environment in footer of package scrlayer-scrpage

I run into strange compilation errors regarding the combination of packages scrlayer-scrpage and makeidx. I reduced this to the following case Define a footer via \cfoot* that contains a center ...
Maximilian Keßler's user avatar
1 vote
1 answer
43 views

Adding a Period After the Page Number When Using Idxlayout

Consider the code \documentclass{article} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \begin{document} \Large \noindent Some words.\index{\textbf{How to add a period after the page ...
DDS's user avatar
  • 8,796
4 votes
0 answers
54 views

Indexing terms with accents in footnotes

I have a problem when I use \index to index a term with an accent in a footnote. The index key created is not the same as if I use \index to index the same term outside of the footnote. This causes ...
Vince Vatter's user avatar
2 votes
3 answers
122 views

Incorrect index generation when used with babel [greek]

I am trying to index a document with several greek phrases. Using babel and \textgreek all went well ... until I got to the index. All entries from the \frontmatter (with roman page numbers) get lost. ...
wasadu's user avatar
  • 51
2 votes
1 answer
47 views

Defining a "See, for Example, Someplace Else in the Index" Command

Consider the following code: \documentclass{article} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \newcommand{\forexample}[2]{\emph{ See, for example,} #1} \begin{document} \large Some ...
DDS's user avatar
  • 8,796

1
2 3 4 5
7