Questions tagged [imakeidx]

{imakeidx} is for questions about the imakeidx package that allows for the index or indices, that are usually typeset at the very end of the document, to be split and sorted so as to include them in the document itself. Note: this requires the `-shell-escape` option.

Filter by
Sorted by
Tagged with
0 votes
1 answer
64 views

How to make an alphabetically ordered index using imakeidx package?

I am creating a thesis template The problem I am running into while making an index is I want to produce an index page that will look like: Index P Picard, 2 W Warp factor, 11 Right now it looks ...
Guri's user avatar
  • 1
0 votes
1 answer
26 views

How to generate the proper indices in srcbook using imakeidx and splitindex?

I have a MWE generated of my book with lipsum. this compiles smoothly, but does not generate the four indices as desired. What do I miss? \documentclass[ngerman,12pt,a4paper]{scrbook} \usepackage[...
Bernhard Kleine's user avatar
0 votes
0 answers
78 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?"} ...
Antonio Maria Di Mauro's user avatar
0 votes
0 answers
7 views

Can you reference an item labelled for imakeidx outside the index?

The same items that are in my index I sometimes want to reference elsewhere in the text. Obviously I could use the pageref, but I'd rather have a hyperlink that zooms to the right point within the ...
Joanna Bryson's user avatar
2 votes
0 answers
46 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{-}{-}{-}\...
andc's user avatar
  • 951
0 votes
0 answers
34 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, ...
mspices's user avatar
  • 101
2 votes
1 answer
80 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*} \...
DDS's user avatar
  • 8,826
1 vote
1 answer
91 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 ...
DDS's user avatar
  • 8,826
1 vote
1 answer
55 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 ...
DDS's user avatar
  • 8,826
2 votes
1 answer
76 views

imakeidx with chapter and section name rather than page or section number

I would like to get imakeidx to show the section name (or chapter, subsection, ...) rather than the page number. Is it possible? I thought this was going to be easy, changing section and \thepage in ...
Peruz's user avatar
  • 123
0 votes
0 answers
48 views

Book template, three different Indices

In my old question I asked You how to delete \section* from \minitoc. Now I ask You how to create three different indices: Index of only parts (i.e. without chapters, sections, ...) An Index for each ...
Puck's user avatar
  • 1,208
0 votes
0 answers
27 views

Problem with imakeidx in the index

I'm trying to align an item of my index. Concretely, the item is created by using imakeidx. My most relevant code is the following: \documentclass[a4paper,12pt]{book} \usepackage{geometry} \usepackage[...
LH8's user avatar
  • 103
0 votes
1 answer
43 views

Alignment using imakeidx in a gener

I'm trying to align an item of my index. Concretely, the item is created by using imakeidx. My most relevant code is the following: \documentclass[a4paper,12pt]{book} \usepackage{geometry} \usepackage[...
LH8's user avatar
  • 103
0 votes
0 answers
25 views

Problem with pagelinking when combining amsmath, hyperref and makeidx

I am preparing a book and have a problem with combining numbering per part (using amsmath package), hyperref and imakeindex. I have made Indices per Part. In these indices the printed pagenumber ...
Baisky's user avatar
  • 1
0 votes
0 answers
51 views

A sorting of multilingual index in alphabetical order doesn't work with xindy

I want to create a multilingual (Russian and English) alphabetical index. makeidx doesn't work with Cyrrilic symbols, so as far as I know the best solution is to use xindy option in imakeidx. I tried ...
Anton Dmitrievich's user avatar
0 votes
1 answer
21 views

suppress repetition of entry in subentry with imakeidx

Thanks to David Carlisle who assisted me in sorting index entries by middle name. Now I'd like the associated sub-entries not to repeat the text of the entry: thus the entry would read as Gaius Julius ...
alice19's user avatar
  • 746
1 vote
1 answer
24 views

Sort index entries by middle name

I have a number of Roman names. I'd like to sort them by middle name (gens) which is much more useful than by first or last. Is this possible? \documentclass[a4paper]{article} \usepackage{imakeidx} \...
alice19's user avatar
  • 746
3 votes
1 answer
196 views

Template for EPUB using Tex4ebook

I am creating a template to produce output in EPUB format. I have taken examples from various sources on the web. I finished with a config.cfg file that contains... \Preamble{xhtml} \...
Alberto Moyano's user avatar
2 votes
3 answers
102 views

How to make \citeauthor to not add entries to \printbibliography

I'd like to use \citeauthor as a way of mentioning the author when the work per se is not being referenced, while automatically indexing each time it's mentioned. I've experimented redefining it with \...
Neveda's user avatar
  • 43
0 votes
0 answers
86 views

`imakeindex` does not print index

My problem The following code does not produce the index as expected.I work on Windows 10 in TexStudio and Miktex. I compile to a pdf with pdfLatex. (Thanks, JamesT). \documentclass[a4paper]{article} ...
Alody's user avatar
  • 1
2 votes
2 answers
49 views

imakeidx in the amsbook class makes incorrect header

When I use imakeidx package together with the amsbook document class I get an incorrect header "INDEX" instead of the designated title (in the example below "SUBJECT INDEX") on the ...
187334's user avatar
  • 23
0 votes
0 answers
11 views

\printindex causes error in TikZ externalization [duplicate]

I've managed to trim down the example to just this: \documentclass{book} \usepackage{imakeidx} \usepackage{tikz} \usepackage{tikzscale} % not really needed, but I do `\includegraphics{some.tikz} in ...
Enlico's user avatar
  • 2,592
0 votes
1 answer
51 views

Cannot make index referring to line numbers list more than one instance

I cannot wrap my head around the existing examples like this. I am using the ekdosis package, which depends on the verse, and ultimately lineno to generate line numbers for a long verse based document....
Dotno's user avatar
  • 3
2 votes
1 answer
88 views

How to sort Bible books properly when using \bibleref and \imakeidx

I expect my Bible index to sort biblical books like 1-2 Samuel, 1-2 Kings, and 1-2 Chronicles under Hebrew Bible. But they are sorted after New Testament and I need help to sort them properly. My MWE: ...
Gildas Hamel's user avatar
0 votes
0 answers
28 views

How to index text that spans several pages?

I'm sure this is built into the index command or a similar command but my google searches are coming up empty. I want to index text that spans several pages. So, something like the MWE below. (Though ...
buttonsrtoys's user avatar
0 votes
0 answers
22 views

Can I index a body word\index{body word} without having to write "body word" 2x?

I'm making my first index. The MWE below writes the word "once" to the index but not to the body. So, I need to write once\index{once} if I want the text in the body and the index. I can ...
buttonsrtoys's user avatar
1 vote
1 answer
36 views

Combine or look up index from another book

I'm writing two books. Assume one is Thanking in Java (the J book), and the other is Thanking in C# (the C book). Each book has its own index. The MWE is the following. java.tex \documentclass[]{...
Gqqnbig's user avatar
  • 564
1 vote
1 answer
38 views

Manipulating the Page Numbers of Index Entries

I am creating document containing a list of quotations from a very long book, each quotation associated with a page number (from the book). I would like to create an index to the document containing ...
user257660's user avatar
0 votes
0 answers
46 views

How to change the name of an index entry

I'm using the package imakeidx to index a book I'm writing, but I have run into a small issue. I tried scanning the documentation to see if there was a way to change the name of what is being indexed ...
Saegusa's user avatar
  • 123
0 votes
0 answers
40 views

Remove stretch between index entries

These are the gaps I'm talking about. This seems similar to what happens when using \flushbottom. For context, I am using imakeidx with memoir. I've tried turning on \raggedbottom and setting \parskip ...
tefkah's user avatar
  • 59
3 votes
1 answer
141 views

Detect page break between items in a list

My goal is to find out whether a page break occurs between subsubitems and if so, repeat the item and subitem. Specifically, I’m trying to get the main etry and subentry of one of my makeindx ...
Parvana's user avatar
  • 97
0 votes
0 answers
22 views

Making repeatindex play nicely with imakeidx and glossaries

This is a follow-up question to my earlier question. My goal is to get repeatindex to work the way it was designed: to repeat the main index item at the top of every new page. The answer given to my ...
Parvana's user avatar
  • 97
2 votes
1 answer
60 views

Repeat subentry imakidx index on new pages

I'm using imakeidx to create long indexes that span several pages. In case the (sub)subentries extend to new pages, I would like the main entry (plus subentry) to be repeated at the top of the page. ...
Parvana's user avatar
  • 97
1 vote
1 answer
143 views

Imakeidx fails on LuaLaTeX

I had to switch from makeindex to imakeidx due to this accents related issue, but I get the error Missing \begin{document}. I'm running lualatex-dev.exe in TeXnicCenter, the parameters of makeindex....
Kazi bácsi's user avatar
1 vote
0 answers
38 views

How to make index appear on table of contents [duplicate]

I've been trying to make index appear on table of contents. I tried many solutions I found (including this question here for which all the solutions haven't worked How to add \printindex to ...
Bryant's user avatar
  • 11
1 vote
1 answer
83 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 ...
josephgerth's user avatar
0 votes
0 answers
72 views

Problem combining hyperref and imakeidx in book parts

I have a book with different parts. I number the chapters and pages per part, using the \numberwithin command. I have defined an index per part using {imakeidx} and {hyperref}. The indices list the ...
Baisky's user avatar
  • 1
2 votes
0 answers
35 views

Why is Pgfpages with the Pgfpagesuselayout{2 on 1} Command Not Picking Up the Index? [duplicate]

The following code \documentclass[openany]{book} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \usepackage{pgfpages} %\pgfpagesuselayout{2 on 1} \begin{document} \LARGE Some words.\index{...
DDS's user avatar
  • 8,826
0 votes
1 answer
59 views

How to Specify the Gap Between Index Entries

The code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage[itemlayout=singlepar]{idxlayout} \begin{document} \LARGE This is the first paragraph.\index{...
DDS's user avatar
  • 8,826
1 vote
0 answers
74 views

Package imakeidx not printing index voices/items into the Index chapter

Good evening everyone. I have a problem with the package imakeidx, coding on Overleaf (XeTeX engine, TeX Live 2021) a master's thesis. This is an example of my main.tex document, which produces the ...
Giorgio Abbattista's user avatar
1 vote
1 answer
204 views

Line breaks in \index commands cause same entries to appear as different ones in the index

If there are two \index{} commands containing the same string, but one with a line break, then that item appears as two different items in the index. See the MWE below (copy it with the line break in ...
Marius Hofert's user avatar
0 votes
0 answers
151 views

How to add category "Figures" before "A" in index?

I'd like to create a category (letter group) named "Figures" before the first letter "A" in the index. The following correctly puts "Figure description, 1" in its own ...
Marius Hofert's user avatar
3 votes
0 answers
45 views

How to Prevent Idxlayout's Placement of a Semicolon within the Content of an Index Entry for Paragraph-Type Delineations

Consider the code \documentclass{book} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} %\usepackage[itemlayout=singlepar]{idxlayout} \begin{document} \Large Some words.\index{Examples@\...
DDS's user avatar
  • 8,826
4 votes
1 answer
100 views

How to Delineate All Index Entries Under a Heading Horizontally as a Paragraph

Consider the code \documentclass{article} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \usepackage{xcolor} \begin{document} \Large Some words.\index{Heading@\textbf{Heading}! 1. This is ...
DDS's user avatar
  • 8,826
1 vote
1 answer
43 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 ...
DDS's user avatar
  • 8,826
0 votes
1 answer
22 views

avoiding gap on the left in index when multiple entries

When I am making an index with multiple columns and when a word is indexed a big number of times, sometimes it appears on two lines, or more, in the index. But in the lines after the first one, there ...
Malo's user avatar
  • 213
1 vote
1 answer
174 views

Add number, inside the table of contents, to the Index printed with \printindex from imakeidx

I have almost done with my document, but the problem is that when I print my Index, the table of contents is not showing me the corresponding number (I want to make it as a chapter). So, I used \...
Luigi GG's user avatar
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 ...
DDS's user avatar
  • 8,826
2 votes
1 answer
303 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}{\...
DDS's user avatar
  • 8,826
0 votes
1 answer
102 views

Using an \index format which changes based on section of the document

I am copying a long book with musical pieces throughout, set with gregorio tex. Each musical piece has a \label and is entered in one of several indexes created using imakeidx. The document has ...
Rob LEduc's user avatar

1
2 3 4 5
7