Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
2answers
60 views

Miktex \printindex doesn`t work [duplicate]

I use MiKTeX 2.9 and use{imakeidx } for doing list of indexes in beamer. but I have the message in log: No file "DM2019_7 (2)".ind. [103 ] In texstudio it works . Please help. Example : \...
1
vote
0answers
20 views

Proper kerning in case the symbol with a subscript is a glossary term and a superscript is another glossary term

Continuing How to get glossary terms to properly typeset subscripts/superscripts?, let's consider the following input: \documentclass{book} \usepackage{fontspec} \usepackage[ngerman]{babel} \...
0
votes
1answer
36 views

LaTeX: index entry changed by makeindex without warning

I'm having a problem with makeindex -g, quoting, and using Y': I create two index entries like this: \index{Y'@$Y'$|see{Luma}} \index{Farbmodell!Y'CBCR@$Y'C_BC_R'$|main} (with \newcommand{\main}[1]{...
1
vote
1answer
63 views

Beamer: index frames (with notes), instead of pages

I am making a beamer presentation in overleaf. I want to flag/mark the frames with something, like a keyword, and generate some text that tells me on what frames (not pages) that this flag/mark/...
0
votes
0answers
14 views

When using imakeidx, how can I make some text link to an index entry? [duplicate]

I'm using the imakeidx package to create indices. On the generated index, page numbers links (well, sort of) to the mentions of each indexed item in the main document. However, the other way isn't ...
0
votes
0answers
19 views

Indexed acronyms with subentries

I am writing a doctoral thesis which prints all acronyms called with \gls{} from the glossaries package to an Index made with \makeindex. I used code from a previous question: Acronyms only shown in ...
2
votes
3answers
66 views

Is there a command that gives the page numbers of an index entry?

Is there a command---for example, something like \pages{pangolins}--- that represents the page numbers (and page ranges) of an index entry "pangolins"? If not, is there any elegant way to code such a ...
2
votes
1answer
32 views

How can I define an new index command that works better for paragraphs?

Suppose that, in the middle of my document, I have paragraph about owls: Here is a new paragraph about owls. Owls are extraordinary. I want to index this paragraph using imakeidx, so I write, \...
2
votes
1answer
43 views

TeXstudio: Run more than one index files

I am using TeXstudio to write a book, and I would like to include two index files. I am using the document class amsbook with package amsmidx for multiple indices. I succeed to generate two .idx files,...
0
votes
0answers
28 views

Glossaries and Index are not Printed at the end of document

I am writing a book and trying to produce glossaries at the end of document using the package glossaries. No glossaries are printed at the end of the document, neither index is produced at the end. ...
1
vote
0answers
23 views

MakeIndex: entries rejected because of duodecimal page numbers

I recently changed the page numbers to duodecimal ones (see here). The package makeidx didn't like that at all. In fact my index isn't written at all anymore: done (0 entries accepted, 341 ...
1
vote
1answer
116 views

How to assign a new folder path for makeindex in Texstudio?

I have already set a new folder called _build for separating and including the generated aux and bib files of pdflatex and bibtex in Texstudio (with Miktex) as follows: Texstudio --> Options --> ...
1
vote
1answer
47 views

manyind index unwanted space before comma

I get an unwanted space after every index keyword when using the manyind package. I don't understand what am I doing wrong since when I try to compile the manyind documentation, the index turns out ...
0
votes
0answers
20 views

Reverse-ordered index with makeindex

How to create a reverse-ordered index (i.e. from Z to A) with makeindex program? I use it for a version history list, just as in this question. However, I need to use makeindex for some reasons (...
2
votes
1answer
34 views

Makeindex - Is it possible to set page numbers on the right border instead of using the comma delimiter?

I'm creating an index using the makeidx package, and would like to change the default behavior: key, number to something like: key ..................................................................
2
votes
2answers
68 views

How to change the text of 'see' and 'seealso'

I'm Hebrew user and I'm want to change the title of see and see also at the index (output of course) to Hebrew words: see = ראו see also = ראו גם I look here: Change index "see also" and ...
1
vote
1answer
138 views

Starting TexStudio from batch file doesn't compile

I'm using MikTex portable and TexStudio on a USB drive. On the top most folder level I placed a batch file starting the texstudio.exe. When I try to compile any document, it doesen't run the command ...
1
vote
1answer
19 views

Index with text different from structure text

How would to see in the index: Borel, Émile, 6 set, 7 I tried with \index{Borel!set} \index{Borel@Borel, Émile} but it doesn't work. Is there any wy to get it? \documentclass{article} \...
3
votes
1answer
42 views

TeX refuses to produce a split index

I need an index of terms and an index of symbols for my document, and it seems like splitidx is a good way to do this. But it doesn't seem to work in my document. I eventually realized the problem is ...
0
votes
1answer
39 views

Automatically Generate a Table with multiple rows and columns from keys in the .tex file

I would like to loop through a LaTeX document and collect every instance of a key with multiple entries. i.e. \begin{document} \lipsum[1-1] \key{name=Peter, age=50, gender=male} \lipsum[1-1] \key{...
0
votes
1answer
30 views

\widehat in \index inside align environment does not show up properly in the index

Why does the \widehat mathematical symbol show up as follows in the MWE below? \documentclass{scrartcl} \usepackage{bm} \usepackage{amsmath} \newcommand*{\xv}{\operatorname{xv}} \usepackage[...
2
votes
1answer
73 views

Why .ind empty (with error message from xindy although makeindex is used) when index command is inside an align environment?

When compiling the following MWE with texi2dvi -p, the second \index{} command fails with the error message ERROR: CHAR: index 0 should be less than the length of the string (seems like this is ...
2
votes
0answers
23 views

Custom list of floats combining makeindex and bibliography features

For my document, I will have to print extracts of interviews I've conducted. I would like to display a list of those interviews, the same way we display a bibliography (with custom fields: date, ...
1
vote
1answer
25 views

Garbled index with ltxdoc document class

When using the ltxdoc document class, index entries are misformatted, looking like this: foomacro= \subitem *+\foomacro+, \usage{1} rather than… however they’re supposed to look. This sounds like a ...
2
votes
2answers
55 views

\index with see macro and math content

Following a related question, I have problems with giving the see macro (from makeidx) math input. The MWE: \documentclass[a4paper,12pt]{article} \usepackage{makeidx} \makeindex \begin{document} ...
2
votes
1answer
25 views

Ignore hyphens when sorting index

How can we ignore hyphens when sorting the index? Here is an example: \documentclass{article} \usepackage{imakeidx} \makeindex[columns=1] \begin{document} Test \index{firstaid} \index{first-love} \...
0
votes
1answer
81 views

How can I generate the ~ symbol in LaTeX? [duplicate]

Please help, I using TeXworks.
0
votes
1answer
64 views

makeidx \printindex problem, is there one way to redefine index name as chapter format

I am using makeidx package, when use \printindex command, it will be start in new page, Is there one way to let "Index" name as chapter style, just like "Chapter 1 Index". I want to change the ...
1
vote
0answers
28 views

Duplicate book titles in index [duplicate]

I have a weird problem with \makeindex that I cannot resolve. Here is a minimal example: \documentclass[12pt,letterpaper,twoside]{memoir} \newcommand{\defn}{\textit} \begin{document} Autopoiesis, ...
0
votes
1answer
63 views

Index - reference to subsections with hyperlink to page

I'm looking to create an index with references to subsections (and an even more complex numbering scheme). So far I was able to do that quite nicely using the answer here. However I would like to ...
2
votes
1answer
42 views

Sorting problem with index entries for footnotes as page-n-footnote

I am working on an index for a large scientific manuscript. I would like to have index entries occurring as footnotes to be in the index as page-n-footnote. Courtesy of brannerchinese's code in this ...
0
votes
1answer
56 views

Ordering an index lexicographically

I need to use a custom sort order (T, K, m, C, P, M, N, SA) and that's implemented in the lua function Bsort below. When I generate two indexes of the same length this works e.g. in the attached the ...
1
vote
1answer
35 views

acr file not created when glossaries(-extra) is loaded by a preamble file located in a sub-folder

I think I may have run into a bug in the glossaries-extra (and hence, possibly glossaries) package. I like to keep my preamble grouped in a thematic manner, eg. all standard packages (such as amsmath ...
1
vote
0answers
44 views

Printing an index without running makeindex

I have a complex program that makes an index seqB.idx and the corresponding seqB.ind. I'd like to be able to use a much simpler LuaLaTeX program to process this and produce a PDF. So I tried the ...
2
votes
1answer
129 views

Using \! for spacing in nomenclature

I have a symbol in my nomenclature that needs a negative thinspace command \! in the subscript. But whenever I try to do that in the nomenclature, it fails to compile. The error I get is: Missing $ ...
2
votes
1answer
120 views

makeindex: first letter bold

I create my index with makeindex, my .ist-file looks like that: % sty.file for mkidx32.exe - redefines: quote '+' headings_flag 0 %headings_flag 1 heading_prefix "{\\textbf " heading_suffix "}\\...
0
votes
0answers
20 views

Create phonebook-like registers at the page margin [duplicate]

I try to create a little booklet with formulas that I need for university. Since we are allowed to use formularies (I'm not shure, if this is the right word for that!) in exams, it's absolutely ...
1
vote
1answer
66 views

How to add custom letter groups to an index, e.g. for greek letters or brackets?

I have an index of symbols made using makeindex: \documentclass{article} \usepackage{makeidx} \makeindex \begin{document} Text \index{sin@$\sin$} % just some examples of index entries \index{...
0
votes
0answers
59 views

In my index section (Nomenclature) of my thesis file, a long sentence exceeds the page width and gets cut off. How do I fit the whole sentence?

I have attached a picture of the problem. My index Latex code is given below, I have included this file in my main thesis file latex window, from where I quick build it. I am using Texmaker compiler. ...
0
votes
0answers
31 views

Command to get index pages also in the PDF file

Iam using window 7 OS, in the command window, if i run a tex file, i am getting pdf as output, iam using texWorks as converter. but it is not containing the index pages such as list of figures, ...
0
votes
2answers
80 views

Why do makeidx and imakeidx ignore absolute values and norms?

See the following minimal working example \documentclass{article} \usepackage{amsmath,amssymb,amsfonts,amsthm} \usepackage{imakeidx} \makeindex \begin{document} Hello world \index{A@$A$ without norm ...
0
votes
0answers
52 views

How to display index entries on a draft page in LaTeX

In Donald Knuth's draft of the TeXBook, he uses a special command to print index entries in the upper corner of the page on which that entry occurs. The command is explained in depth in another post. ...
0
votes
1answer
191 views

Producing a List of Authors

This is largely working but there are a few glitches that I'm not sure how to address. And there's probably a much simpler way of producing the very simple list I need. MWE follows \documentclass[...
1
vote
0answers
54 views

latexmkrc custom dependency code to generate syi file

I am using the excellent latexmk build tool to build a PhD thesis based on the template: https://github.com/holgern/TUB_PhDThesisTemplate Project requires me to manually specify a makeindex command ...
1
vote
0answers
25 views

Index syntax makeindex vs xindy (range formatting)

In a normal index generated with makeindex we can format a range using \documentclass[a4paper]{article} \usepackage{makeidx} \makeindex \begin{document} test\index{test|(textbf} \newpage test\index{...
2
votes
2answers
82 views

Generating an name index with \index{name@name and surname}

I am trying to generate an index of person names, which are used in a book. On its first appearance, the person is introduced using it complete name (i.e. name and surname and maybe an additional ...
1
vote
0answers
25 views

Automatically generating an index with acronyms [duplicate]

What I'd like to do is that, every time I reference an acronym, it should be rendered with an \index{} using the same value as either the acronym's short or long form. M(not)WE: \documentclass{...
2
votes
1answer
68 views

multiple indexes in ltxdoc

I want to use multiple indexes in ltxdoc. But if I use the package imakeidx my defined "General Index" disappears and I get the standard "Index". Without imakeidx I do get what I want. Is this a bug ...
0
votes
1answer
92 views

align index on the right-hand side

Some index references are shown in the next line if there are too many sections with the same \index. This is fine, but I want to align it on the right-hand side (as shown in the picture below). How ...
4
votes
2answers
377 views

newcommand for index inserts unwanted spaces when using {}

I'm creating a technical document with lots of index entries. To reduce typing I defined an index command that typesets the word to be indexed using \emph{}: \newcommand{\ind}[1]{\index{#1@\emph{#1}}}...