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
15 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 ...
user avatar
1 vote
1 answer
54 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 ...
user avatar
  • 2,082
0 votes
0 answers
15 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} \...
user avatar
0 votes
1 answer
28 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
user avatar
1 vote
1 answer
65 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} \...
user avatar
  • 2,082
0 votes
0 answers
14 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} ...
user avatar
2 votes
1 answer
83 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} \...
user avatar
  • 3,019
0 votes
1 answer
42 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 \...
user avatar
  • 3,019
1 vote
0 answers
51 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} ...
user avatar
  • 3,019
0 votes
0 answers
19 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 ...
user avatar
  • 1
0 votes
0 answers
17 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 ...
user avatar
0 votes
0 answers
17 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 -...
user avatar
0 votes
0 answers
27 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, ...
user avatar
  • 2,307
0 votes
0 answers
21 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 ...
user avatar
0 votes
1 answer
26 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 ...
user avatar
  • 75
0 votes
0 answers
16 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 ...
user avatar
0 votes
0 answers
17 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 ...
user avatar
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 ...
user avatar
  • 5,285
4 votes
0 answers
37 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 ...
user avatar
1 vote
2 answers
60 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. ...
user avatar
  • 41
2 votes
1 answer
44 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 ...
user avatar
  • 5,285
1 vote
1 answer
35 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 ...
user avatar
  • 5,285
2 votes
1 answer
49 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}{\...
user avatar
  • 5,285
2 votes
1 answer
65 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}} ...
user avatar
  • 5,285
1 vote
0 answers
23 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\\...
user avatar
  • 5,285
1 vote
0 answers
28 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 ...
user avatar
  • 5,285
1 vote
1 answer
48 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 \...
user avatar
  • 5,285
1 vote
0 answers
34 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{...
user avatar
  • 5,285
1 vote
1 answer
32 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}% <<<<<<<<<&...
user avatar
  • 5,285
3 votes
1 answer
63 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\...
user avatar
  • 5,285
1 vote
1 answer
44 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} \...
user avatar
  • 5,285
4 votes
1 answer
101 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$...
user avatar
2 votes
1 answer
48 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., ...
user avatar
  • 5,285
1 vote
1 answer
63 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\...
user avatar
  • 5,285
0 votes
0 answers
35 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}...
user avatar
1 vote
1 answer
39 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{...
user avatar
  • 5,285
2 votes
1 answer
82 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 ...
user avatar
  • 5,285
2 votes
2 answers
69 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[...
user avatar
  • 5,285
0 votes
1 answer
58 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} \...
user avatar
1 vote
1 answer
61 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@\...
user avatar
  • 5,285
1 vote
1 answer
72 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 ...
user avatar
  • 5,285
1 vote
0 answers
64 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 ...
user avatar
  • 212
1 vote
1 answer
70 views

Getting Special Item Labels to be Cited Correctly in the Index

Consider the code \documentclass[openany]{book} \usepackage{tcolorbox} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \makeatletter \def\@wrindex#1#2{% \imki@wrindexentrysplit {#1}{#2}{\...
user avatar
  • 5,285
1 vote
1 answer
64 views

Making Use of Setcounter to Modify Makeindex Page Numbering

I am working on a document wherein each chapter takes on a significance beyond the numerical value of the chapter itself. I, for better or worse, have tried to incorporate this by making use of the \...
user avatar
  • 5,285
1 vote
1 answer
55 views

On Makeindex, Subentries, and Stackengine (and No Xindy)

It seems to be a well-known defect with \makeindex that the number of levels of an index entry is capped at three. For example, if I run the code \documentclass{book} \usepackage{imakeidx} \let\...
user avatar
1 vote
1 answer
59 views

Adjusting the Spacing Between Headings, Entries, and Subentries with Idxlayout

Consider the code \RequirePackage{filecontents} \begin{filecontents*}{\jobname.mst} %delim_0 "\\IndexDotfill " %delim_1 "\\IndexDotfill " headings_flag 1 heading_prefix " \\...
user avatar
  • 5,285
1 vote
1 answer
64 views

TeX Definition to Suppress Page Number Conflicting with Macro to Make Other Page Numbers Bold

In the post Is There a Command Analogous to \addtocontents{toc}{text} for an Index?, I inquired as to the existence of a command that could be used to add a comment to the Index in a manner analogous ...
user avatar
  • 5,285
0 votes
1 answer
30 views

Latex index prints additional undesired empty page after custom cover in last page

I am using TexMaker to write my thesis, using this template https://github.com/jaredjstewart/Masters-Project. I have a first cover, three chapters, a bibliography, an index, then a last 4th cover page ...
user avatar
1 vote
1 answer
38 views

How to Simply and Selectively Eliminate the Page Number of an Index Entry

I have learned that one may selectively make bold the page number of an Index entry by the use of |textbf at the end of the \index command. For example, consider \documentclass{book} \textwidth=6.75in ...
user avatar
  • 5,285
1 vote
1 answer
52 views

How to Shift Comma Inside Closing Quotes in Index

Consider the MWE \documentclass{book} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \usepackage{xcolor} % Make all page numbers in index bold \let\oldindex\index \renewcommand{\index}[1]{% ...
user avatar
  • 5,285

1
2 3 4 5 6