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.
347 questions
3 votes
1 answer
92 views
Same Index twice in a document
I am trying to print the same index twice in a document, and in the following MWE the two indexes print fine, but I am observing that the first occurrence of \printindex stops all indexation in any ...
0 votes
0 answers
27 views
Formatting indexes over column and page breaks [duplicate]
In a long document, with a 15-page index, we came across the issue that the formatting in the index, most specifically the placement of page and column breaks, was far from ideal, and that the tools ...
2 votes
1 answer
140 views
May imakeidx line up the indexed pages better, and avoid the comma separator
Is there a way to change the MWE below so as to avoid the commas as separators in the imakeidx-index between the symbols and the indicated pages; and next indent plus align the indicated pages so that ...
0 votes
2 answers
60 views
Default index file
Is it possible to define a default index file? I'm using Overleaf. I mean, I would like to write: \documentclass{memoir} \makeindex[words] <------ "default index file" \makeindex[...
0 votes
0 answers
45 views
Layout question about typesetting Tufte's sample book using TeXShop 5.53
I more or less followed the typesetting instructions in the README for Tufte's sample book and successfully created a PDF from the supplied tex file (gotten from a link in tex.stackexchange). When I ...
4 votes
1 answer
104 views
Order of index pages changes when hyperref loaded
I notice that the order of pages in the index is impacted by whether hyperref is loaded or not. It's sad when that happens. So in the following MWE, without hyperref you get: test, 1, 1n1 And with ...
3 votes
1 answer
91 views
Compress page ranges in index with hyperref package
When hyperref is loaded, page ranges in the index are encapsulated with \hyperpage which takes care of linking the page ranges to the right place. biblatex contains the \mkcomprange macro which is ...
4 votes
1 answer
109 views
Is there any way to compress footnote numbers in indices?
Makeindex is able to automatically compress page numbers in indices. I'm wondering if there is an automatic way to compress footnote numbers in the case when an indexed term appears in two footnotes ...
0 votes
0 answers
66 views
Word2Latex conversion of the Word index?
I need to convert into Latex a document full of text markers for inclusion in an index (the markers {XE "keyword"} one can see when the show paragraph marks are on). I used GrindEQ and, ...
0 votes
0 answers
23 views
Customizing index - How redefine index to show a newcounter and the page number?
I have a newcounter and newcommand at my document like this \newcounter{para}[chapter] \newcommand\mypara{{\bfseries\par{\thechapter.\refstepcounter{para}\thepara.\space}}} I would like to provide ...
0 votes
0 answers
28 views
makeindex for nomencl with TeXShop platexmkrc
A book document book.tex being compiled with pdflatex through TeXShop with the pdflatexmk engine uses the following platexmkrc file: $makeindex = "makeindex -s %R.ist %O -o %D %S"; That ...
0 votes
1 answer
83 views
empty .idx and .ind files, no index included in file
I am working on creating a series of indices in a long book-like document. I run latexmk; before makeindex runs, the message says Package imakeidx Warning: Undefined index file test_index on input ...
0 votes
1 answer
76 views
How to make the index entry be aligned to both sides when there are many page numbers and dots are filled before page numbers?
An MWE is as follows. \documentclass{book} \usepackage[papersize={185mm,260mm},top=30mm,bottom=20mm,left=22mm,right=22mm]{geometry} \usepackage{imakeidx} \usepackage{hyperref} \usepackage[totoc=true,...
0 votes
0 answers
25 views
Indexing Scripture Citations in a Footnote
I would like to indicate if a Scripture citation appears in the main text or in a footnote in my Scripture Index. According to the makeindex package, you can specify the option notenumber to indicate ...
1 vote
1 answer
53 views
The `onlydoc` option for `l3doc` doesn't work
I'd like to use the onlydoc option of the l3doc class. But I found that when I chose this option, it crashed with the error(s) Undefined control sequence. <argument> \@indexfile. But the default ...