Questions tagged [indexing]
{indexing} is about creating an index or similar lists for your document, usually by means of executing makeindex.
1,426
questions
1
vote
1
answer
24
views
How to delete an entire index?
I created a lot of index entries, but, finally, I don't need an index. I'd like to remove my index without deleting every index entry. Is it possible to do that? This is my MWE:
\documentclass[10pt]{...
2
votes
1
answer
36
views
How to create an "Artist (Songtitle)" Formatted Index in Songs package
CONTEXT: This brilliant answer already described how one can create a title index that looks like this:
Lady in Black (Uriah Heep) ........ 4
Lemon Tree (Fool's Garden) ........ 6
QUESTION: How can I ...
1
vote
0
answers
14
views
Multiple or different indices
I am trying to write a report with different indexes, within the same document, I need to put an index, change the page and put a new index, that is, the new index begins with a new count of sections ...
1
vote
0
answers
30
views
How to make boxed headers in imakeidx
I am very interested in making my index headers look like those in this answer from 2017: Sample. The MWE from this answer is no longer available, so I was hoping to seek help in a new question.
Here ...
1
vote
1
answer
38
views
Change table of contents font size
i am trying to standardise my indexes, and have some problems doing so.
My current main file
\documentclass[a4paper,12pt]{article}
\usepackage[acronym]{glossaries}
% for table entries
\usepackage{...
1
vote
1
answer
20
views
amsbook imakeindex indexprologue doesn't appear
I have an amsbook manuscript with two indexes and would like to add a prologue to one of these using the indexprologue command of the imakeindex package. However, as in the following MWE the prologue ...
2
votes
2
answers
105
views
How can I get automatic code indexing of expl3 in ltxdoc?
How can I get correct automatic indexing of expl3 code in the ltxdoc class? Even better would be if the solution worked with xindy, but makeindex seems the only live option for documentation.
Example ...
1
vote
2
answers
36
views
Index sub-entry for loop newcommand
I have a problem with sub-entries in a for loop. My MWE :
\documentclass{article}
\usepackage{lipsum}
\usepackage[nonewpage]{imakeidx}
\makeindex[name=P, title=P, columns=2]
\newcommand{\Ka}{K1 -- ...
0
votes
1
answer
37
views
Creating an index with a two name description? [closed]
I am trying to create an Index in latex with a two name description entry. Such as one for "mass" (one name) and one for "mass, gravitational" (two names) See image below. Can ...
0
votes
1
answer
69
views
Compilation error: Input index file not found, and biber failed
I am trying to compile a LaTeX document using a Windows batch file that includes creating an index and glossary. However, I encounter the following error messages:
Compiling test.tex...
Input index ...
4
votes
2
answers
95
views
Label index and refer to it
In my document using the amsbook class. I need to include an index of notation.
For that, I'm using makeidx, as explained in the package documentation.
Now, I would like to refer to it in the text, ...
1
vote
2
answers
63
views
Hebrew language and \makeindex incompatibility/glitch
NOTE: This issue occurs only with pdflatex; to avoid completely, use a compiler such as luatex instead.
I'm using TeXstudio to typeset public domain books pulled off Project Gutenberg.
It's kind of a ...
0
votes
0
answers
19
views
WARNING: location-reference "x" did match multiple location-classes! (taking first one) - What is meant?
In a bigger project with multiple indexes, pagenotes and sectionwise bibliography I got that WARNING in the title of this question. Since I have a problem with the index in the epub (via tex4ebook) I ...
2
votes
1
answer
31
views
Index in caption (of figure) and multiple index (splitindex) and tex4ebook yield to problem
The following MWE shows the error in the resulting epub: In the figure captions the index entry within the figure caption is not correctly set in the epub.
\documentclass{report}
\usepackage[T1]{...
0
votes
0
answers
35
views
Index entries on the same page
I have the command
\index[subjectindex]{foo}%
on several places in the text. Two of them are on the same page, so I get in the index
foo, 7, 7, 11, 22
which I would like to avoid. I can do it manually,...
0
votes
1
answer
64
views
Why is \printindex not working?
I have the following document:
\documentclass[a5paper]{report}
\usepackage[12pt]{moresize}
\usepackage{fullpage}
\usepackage[T1]{fontenc}
\usepackage[pass]{geometry}
\usepackage{graphicx}
\usepackage[...
3
votes
1
answer
71
views
How to differentiate index entries using the knowledge package
I'm using the knowledge package to mark definitions and simplify the creation of an index.
My entries are all defined as in the following example:
\documentclass{book}
\usepackage[paper,makeidx]{...
0
votes
0
answers
33
views
Index not properly updating in a multifile document using standalone/import
I'm working on a large text, using multiple .tex files. I use the standalone / import packages to merge them into one single pdf document. At this time there are roughly 10 different .tex files ...
0
votes
2
answers
52
views
Subindex sorted by occurrence
In a mathematical document, I have several indices. As I am not a LaTeX programmer I have no idea how to make only the symbol index to be sorted by occurrence. The question Symbol index sorted by ...
0
votes
1
answer
43
views
Displaying chapter numbers in indexes with hyperref's links
I have a long document, consisting of 40 chapters. I want to index two different things, so I use imakeidx to have multiple indexes.
When the indexes are displayed, I would like them to show, for each ...
1
vote
1
answer
105
views
Pagenotes with multiple index and useage with tex4ebook - needs support
Please refer to \index in \pagenote with splitindex option (for multiple index)
With the following MWE no epub could be made with tex4ebook.
\documentclass{report}
\usepackage{index}
\usepackage[...
0
votes
1
answer
48
views
Index for roles in a script?
I am making multiple scripts for a project. There are basically 10 or so roles, and in each document, I want to have an index in the front of the document, after a table of contents, that has the page ...
0
votes
2
answers
31
views
Bibleref-xidx : sections for Old Testament and New Testament
I'm planning to use bibleref-xidx to generate a Scripture index where the verses appear as sub-items of the chapters:
\documentclass{memoir}
\usepackage{etoolbox,indextools,bibleref-xidx}
\usepackage[...
1
vote
1
answer
28
views
Index subentries be alphabetized by the topics following the connective words/phrase
I need to arrange the subentries in alpha order not with the words like and, as, the, and for etc.
\documentclass{article}
\usepackage{makeidx}
\makeindex
\begin{document}
This is for test\index{...
4
votes
2
answers
152
views
Indexing when using the l3doc class
I am using the l3doc class for a write-up the document needs to index both macros as well as normal indices, i.e; cases with normal words not commands.
\documentclass{l3doc}
\usepackage{makeidx}
\def\...
1
vote
1
answer
25
views
How to get page numbers of Index and bibliography
Here is a skeleton .tex file for a book
\documentclass[11pt,a4paper]{book}
\usepackage{makeidx}
\usepackage[nottoc,notlof,notlot]{tocbibind} % Put the bibliography in the ToC
\makeindex
\begin{...
2
votes
1
answer
59
views
Automatically indexing digraphs as single letters
I'm working on a document that contains many older Danish names and places, from when Å was still the Aa-digraph. I want these entries to sort correctly, ie. in the order A..Z Æ Ø Aa/Å.
Looking in the ...
1
vote
0
answers
13
views
index{} reference inside lstlisting when using matlab-prettifier
I have been using matlab-prettifier with success. But when I tried to add index 'references' inside the MATLAB comments I ran into trouble.
I tried to implement the StackExchange suggestion given in '...
0
votes
0
answers
92
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?"}
...
2
votes
0
answers
49
views
Problem with citation of authors having user defined command in their names
I have a problem using polski package simultaneously with imakeidx and biblatex.
I only use the command \dywiz from package polski which is defined as \def\dywiz{\kern0sp\discretionary{-}{-}{-}\...
1
vote
1
answer
38
views
Problem with index when using tex4ebook and sanitize-umlaut
I used the package sanitize-umlaut for more convenient use of indexing in german. But producing an ebook the index lacks links to the index entries.
Here is the MWE:
\documentclass{report}
\...
1
vote
0
answers
119
views
Index in Table of Contents Points to Bibliography
Because of utilizing xepersian package, I need to use makeidx package in order to produce an index for my book, which I have provided what I consider a minimally working example for it down below. My ...
0
votes
0
answers
41
views
index entry that only refers to another entry
How can I add an entry to an index (I am using imakeidx) that simply refers to another entry, without carrying any page numbers itself? In particular I would use this for abbreviations.
For instance, ...
2
votes
1
answer
85
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*}
\...
1
vote
1
answer
99
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 ...
1
vote
1
answer
76
views
How to Adjust Index Column Width and Add a Vertical Line Separator?
MWE:
\documentclass{book}
\usepackage{imakeidx}
\let\cleardoublepage\clearpage
\makeindex
\usepackage{idxlayout}
\usepackage{lipsum}
\begin{document}
\thispagestyle{empty}
This is a sentence to be ...
3
votes
1
answer
116
views
Acro package: How to print only one form (short or long) in the abbreviation list? How to swap long and short form in printed list?
For my paper (medieval studies) I would like to create a list of mentioned persons and a list of mentioned manuscripts (they often have only a signature but no name in the strict sense). For this I ...
0
votes
1
answer
106
views
Labels or keys of tcbtheorems in a section
I'm sure a lot of people asked this already, but I'm not able to find the correct answer.
I want to keep track of my label/keys that I was giving a tcbtheorem. I don't know the best practise to ...
1
vote
1
answer
59
views
\index in \pagenote with splitindex option (for multiple index)
How does \expandafter works here?
The following code needs to be completed. I assume that some of you might do this with ease, hopefully.
The intention is: to propagate the letter n (or any other, for ...
0
votes
0
answers
78
views
LaTeX: how to include an index in the middle of a book
I need to include an index in the middle of a book, because I am writing a multi-volume work by splitting a large pdf into 5 volumes, and the index should appear at the end of the first volume.
If I ...
0
votes
0
answers
78
views
\index inside \pagenote. How to propagate the pagenote number correctly?
The following MWE is taken from \index inside footnote: How to propagate the footnote number correctly with index package? and used with the pagenote package. The index result shows: inside second ...
2
votes
1
answer
26
views
\index{} within \pagenote{} does not work, when using \emph{} in \index{}
The following MWE shows 4 index entries, with 2 different wordings, and 2 in ordinary text, and 2 in \pagenote. 2 are normalfont, the other 2 are emphasized. The result should be 2 indexes, 1 with ...
0
votes
1
answer
49
views
xindy with arbitrary locations (not page numbers): no sort, no ranges, hyperlinks
I'm trying to write an index using "locations" that are not page numbers but some kind of sections (not with proper sectioning commands either). These locations are just numbers with ...
0
votes
1
answer
54
views
Barred indices equation
How to make the below equations with bars being precisely above selected indices and not crossing other unbarred indices?
\begin{equation}
\frac{1}{\alpha'}\int_\Sigma d^2x[g_{\mu\nu}\...
0
votes
0
answers
31
views
How to manage the copyright notice for a composite document?
I'm creating several documents in which different sections come from different sources and thus have potentially different copyright notices. I'd like all copyright notices to appear in one place (...
2
votes
0
answers
21
views
How to use \pause without increasing the index in a beamer? [duplicate]
I am using the expex package in a beamer file. Every time I use the command \pause, all the indices in that frame would increase by one. I would want to know whether there is a way to get rid of it.
\...
1
vote
1
answer
172
views
\index add spaces in text
I am writing a document with many indexed entries. I noted that this adds extra unwanted space in the text. Here is a MWE.
\documentclass{article}
\usepackage{amsthm}
\usepackage{imakeidx}
\makeindex
\...
2
votes
1
answer
46
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, ...
1
vote
0
answers
31
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 ...
2
votes
0
answers
35
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}}%
}
\...