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
15 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} \...
0 votes
0 answers
193 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 ...
1 vote
1 answer
65 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 ...
2 votes
1 answer
79 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 ...
  • 123
1 vote
0 answers
42 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 " % ...
  • 6,993
0 votes
0 answers
21 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 ...
0 votes
0 answers
36 views

How to let makeindex sort alphabets according to lowercase and uppercase?

The default sorting rule of makeindex looks strange to me. Here is an example: \index{A}\index{a}\index{A b}\index{a b} The above will showing in the following order: A, a, A b, a b But what I ...
  • 311
0 votes
1 answer
55 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 ...
0 votes
1 answer
19 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 ...
1 vote
1 answer
109 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 ...
  • 2,206
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} \...
0 votes
1 answer
47 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
1 vote
1 answer
80 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} \...
  • 2,206
0 votes
0 answers
17 views

How to Get the Index to Display "Ibid" Instead of Page Numbers Where Applicable

Consider the MWE: \documentclass{article} \usepackage{makeidx} \makeindex \usepackage{filecontents} \usepackage[style=verbose-trad2,ibidpage=true]{biblatex} \begin{filecontents}{\jobname.mst} ...
  • 102
2 votes
1 answer
102 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} \...
  • 3,432
0 votes
1 answer
54 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 \...
  • 3,432
1 vote
0 answers
75 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} ...
  • 3,432
1 vote
1 answer
160 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 ...
  • 11
0 votes
0 answers
27 views

The titles of the bibliography, nomenclature and index are not showing up

I have a tex file in which I use bibtex and the packages nomencl and imakeidx Weirdly, the titles of the bibliography, nomenclature and index show up in the table of content but there is no title ...
0 votes
0 answers
61 views

Configure TexMaker for Makeindex

Im moving from TeXWorks to TeXMaker, but I'm having problems with Makeindex defined as makeindex %.idx I had these instructions in TeXWorks with arguments $fullname and $basename miktex-xetex.exe -...
0 votes
0 answers
54 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, ...
  • 2,347
0 votes
1 answer
37 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 ...
0 votes
1 answer
41 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 ...
  • 75
0 votes
0 answers
18 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 ...
0 votes
0 answers
32 views

Nomenclature not being updating

My nomenclature has stopped updating, leaving the following: As you can see, the nomenclature prints as normal, but at one point it stops recognizing the first argument in additions to the ...
1 vote
1 answer
34 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 ...
  • 6,375
4 votes
0 answers
44 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 ...
1 vote
2 answers
71 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. ...
  • 41
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 ...
  • 6,375
1 vote
1 answer
37 views

Why This Code Eliminating Index Commas Works for \jobname.mst and Not for \jobname.ist

This post is an addendum to How to Universally Remove the Comma from Each Index Entry. In the link, I was looking for a universal way to remove the comma in each index entry. Werner advised to include ...
  • 6,375
2 votes
1 answer
69 views

Difference Between Filecontents and Filecontents* and When to Use One Instead of the Other

I have recently been experimenting with different ways to replace the comma in the Index with a different symbol. The following code replaces the said comma with a blank space. \begin{filecontents}{\...
  • 6,375
2 votes
1 answer
86 views

How to Universally Remove the Comma from Each Index Entry

This question extends the one recently posed in How to Selectively Remove the Comma in an Index Entry In the above post, it was answered that by inserting \newcommand\textbfnocomma[2]{\textbf{#1}} ...
  • 6,375
1 vote
0 answers
28 views

Inserting Vertical Space Before Index Heading Items with Filecontents

I recently discovered a seemingly simple way to insert vertical space immediately before new index headings using filecontents--- Consider the code \begin{filecontents*}{\jobname.mst} item_0 "\n\\...
  • 6,375
1 vote
0 answers
49 views

Setting the General Space Between the Letter Groups in an Index with \Indexspace

Update In light of David Carlisle's very helpful comment providing a simple, efficient solution to setting the space between letter groups in an idxlayout index, I have modified the title a bit to ...
  • 6,375
1 vote
1 answer
55 views

How to Allow Hyphenation in the Index While Forbidding It in the Rest of the Document

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \usepackage{lipsum} \usepackage[none]{hyphenat} % To prevent hyphenation \...
  • 6,375
1 vote
0 answers
35 views

See (Elsewhere) in the Index; What am I Doing Wrong?

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \begin{document} \Large Some words.\index{HEADING@\textbf{\textit{...
  • 6,375
1 vote
1 answer
37 views

A Blank Line Appears Between Consecutive Index Entries When Top Entry Extends Too Far to the Right

Consider the MWE \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \newcommand{\beforeheadspace}{.7ex}% <<<<<<<<<&...
  • 6,375
3 votes
1 answer
64 views

In Trying to Extend a Simon Dispa Answer for Adding Vertical Spacing at Certain Points in the Index---a Curious Thing Happened

This post relates to trying to extend Simon Dispa'a answer given in Prescribing Certain Vertical Spacing for Idxlayout Consider the MWE \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\...
  • 6,375
1 vote
1 answer
46 views

How to Specify a Fixed Gap to Precede Each New Heading in the Index

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex %\usepackage[font=small]{idxlayout} \usepackage{idxlayout} \usepackage{xcolor} \begin{document} \...
  • 6,375
4 votes
1 answer
192 views

Math Symbols in Index (makeindex)

I want to have the following Symbol in my Index (with makeindex): $\| \cdot \|_X$ I tried alot, however nothing worked, it wont show. I tried: Test\index{Norm!1@$|| \cdot ||$} Test2\index{Norm!1@$1_X$...
2 votes
1 answer
49 views

Adjust Spacing Between the Comma and Page Number in the Index

Consider the code, \documentclass{article} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \usepackage{xcolor} \begin{document} \large \noindent Some words.\index{How to adjust (i.e., ...
  • 6,375
1 vote
1 answer
80 views

How to Selectively Remove the Comma in an Index Entry

In an index, I would like to be able to remove the comma that immediately precedes the page number for certain entries only. Consider the MWE \documentclass{book} \usepackage{imakeidx} \let\...
  • 6,375
0 votes
0 answers
40 views

Indexing without having to type a word twice

I'm trying to speed things up. IF I type \documentclass{article} \usepackage{makeidx} \begin{document} \noindent Hey! \index{baby}!, \\ there ain't no easy way out \\ Hey! I!\\ won't \index{back down}...
1 vote
1 answer
49 views

Modifying a Makeindex Algorithm to Remove Page Numbers on a Selective Basis Only

I have extracted the following code from an answer in Remove page number from index entries which removes the page number from each index entry: \documentclass{article} \usepackage{xcolor} \usepackage{...
  • 6,375
2 votes
1 answer
88 views

A Disappearing Index Entry with Idxlayout

In the past, I have put together some rather large index entries in terms of content without encountering any problems. However, I have discovered that when I add some color, there seems to be a ...
  • 6,375
2 votes
2 answers
89 views

Looking for an Optimal Way to Change the Font Size of Index Entries Only (Not Headings or Subheadings)

This post is a bit of an extension of the one posed in \indexsetup{othercode=\FONTSIZE} Not Changing Fontsize with Idxlayout When one specifies an index font size with idxlayout as such: \usepackage[...
  • 6,375
0 votes
1 answer
76 views

\indexsetup{othercode=\FONTSIZE} Not Changing Fontsize with Idxlayout

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \usepackage{lipsum} %\usepackage[font=footnotesize]{idxlayout} \...
1 vote
1 answer
63 views

Prescribing Certain Vertical Spacing for Idxlayout

Consider the MWE \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \usepackage{xcolor} \begin{document} \large A sentence.\index{VON GOETHE@\...
  • 6,375
1 vote
1 answer
115 views

How to Make Index Recognize an Exclamation Point as Part of an Entry

I would like to add an entry in an index which makes use of an exclamation point as an article of grammar. However (of course), Latex treats it as if I want to begin a subentry. Consider the following ...
  • 6,375
1 vote
0 answers
82 views

Two indexes in LyX

I am writing a LyX document with two different indexes. In LyX, you can set up multiple indexes by going to Document->Settings->Indexes and selecting the option Use multiple Indexes. One just ...
  • 474

1
2 3 4 5 6