{indexing} is about creating an index or similar lists for your document, usually by means of executing makeindex.
6
votes
1answer
158 views
How to “clean” what is sent to the table of contents? (Remove index etc.)
I want to use markup commands such as \pkg{classicthesis} that not only typeset the entry, but that have side-effects such as adding a margin note or index entry. (See the example below.)
My problem ...
15
votes
1answer
513 views
Which tool to use: an index or a glossary?
I have this situation:
My book needs an alphabetical index, used for finding on which page an item appeared.
My book needs a glossary, used for looking up the definition of the item.
Every indexed ...
5
votes
1answer
275 views
“See also” in index entries
LaTeX's indexing packages makeindex and xindy provide good support for the basic features of an index: runs of pages, nested index sub-entries, and cross-references of the form:
Yurmurm-Peffifoss, ...
3
votes
1answer
537 views
Error compiling CJK with \tableofcontents and \makeindex
A basic document with Chinese text works fine:
\documentclass{article}
\usepackage{CJKutf8}
\title{标题}
\begin{document}
\begin{CJK}{UTF8}{gkai}
\maketitle
(text)
\end{CJK}
...
5
votes
2answers
290 views
macro for custom indexing with conditionals and text recognition
I was unable to solve this by myself and by searching this wonderful site. The problem is with indexing. I still consider myself as a LaTeX newbie :)
The situation:
- I'm working on an english book ...
2
votes
1answer
712 views
Creation of index style files (complete references)
Where can I get the complete reference for creating the index style files in LaTeX?
Could you please help me on this?
14
votes
2answers
688 views
What are the latest/best practices for index generation?
I would like to know what the current best practices are for index generation. What are the best packages/programs to use and which ones to avoid. What are the best ones to use for generating multiple ...
1
vote
1answer
155 views
Ledmac \pagelinesep and Makeindex
I'm doing multiple indices for a document, using Ledmac with the Memoir class.
By default, page and line numbers (produced using \edindex[]{}) are separated by a dash. I actually would like a colon ...
9
votes
1answer
231 views
Making an index of sources quoted
I am working on my PhD Thesis, and need to create an index of all primary sources quoted.
I have created "cite" commands so that it automatically adds an index line whenever I cite:
...
12
votes
1answer
323 views
Visualize index entries in the text?
When I ad an index entry using \index with all the options available for the "format" and "see", and cross-reference, I'd like to see at the place where I make the index entry how this specific entry ...
6
votes
3answers
326 views
Index is incorrectly listed in the table of contents
I have a large document with an index compiled through makeindex, and is included in my source .tex as follows:
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Index}
\printindex
...
4
votes
1answer
298 views
Customizing Index - Adding chapter heading and verse number to index entries
I would like to provide the chapter title and the verse number for each entry in the index. This is unusual but the book I am working on requires such formatting.
In the output I want the chapter ...
2
votes
1answer
311 views
Using multicol in the index
Can I use multicol to make the index split into two? I tried to use multicol but LaTeX keeps spitting some numbers in square brackets. I had to stop after the numbers count reached 15k.
...
1
vote
2answers
151 views
Index moves the text to index
Here is the file I am working with.
\documentclass[12pt,a4paper]{book}
\usepackage{xkeyval}
\usepackage{polyglossia}
\usepackage{xcolor}
\usepackage{makeidx}
\usepackage{multicol}
...
2
votes
1answer
214 views
How to create Index for Verses
I ran into problem of creating index for a book (1200 page) which has around 700 verses and its explanation.
I have one main tex file with the preamble. I have 18 chapters in my book, so I created ...
0
votes
1answer
517 views
Error using the package makeidx
My index is working smoothly with the command
\makeindex
alone. However, when I put
\usepackage{makeidx}\makeindex
compilation gives two errors as
1. Command \see already defined.
...
5
votes
1answer
401 views
How to change chapter created by \printindex to section?
I wonder if there is a solution to the following problem: I wanted to create an index with the package makeidx and the scrartcl document class. \printindex creates a chapter called "Index". But all I ...
2
votes
1answer
430 views
Letting strings start with a capital letter
I am writing a small book and try to build up an index reference. To make it a little easier I wrote a small script that enables my to type a word and also add it to the index:
...
8
votes
1answer
205 views
Create arbitrary sorting of index entries
How does one go about setting an arbitrary sorting order in an index? For example, I would like to create an index of citations to Roman and canon law, which should not be sorted alphabetically. ...
5
votes
2answers
440 views
Specify .ist-File for latexmk in TextMate
So I'm using latexmk.pl to compile my TextMate LaTeX Project and it's running quite nice. The only thing I'm missing, is, that i want to specify an individual style file for the makeindex command, ...
4
votes
2answers
211 views
How to display proper ranges in index using Xindy and XeLaTeX?
When I generate my index with XeLaTeX using xindy as described here: How to use xindy with XeTeX/LuaTeX? I struggle with proper ranges being displayed. Essentially, the dashes are missing and the page ...
3
votes
1answer
79 views
doc.sty: Print codelinenumbers in index in tt font?
Is it possible to print the index numbers which are referring to a code line number instead of a page in typewirter font.
I know that I can change \main, but on this way I can’t change the format of ...
7
votes
2answers
558 views
How to create two separate indices: Subject index and Index of Authors
I am working on my thesis and I have to include in the text the Subject Index and Index of Authors. I'm using BibTeX (package natbib) and package makeidx for marking the terms for Subject index (I'm ...
4
votes
2answers
1k views
“makeindex” in Mac OS X (Snow Leopard)
I use LaTeX on a Mac, using TeXShop. It is possible to compile an index from within the TeXShop interface, except when I have more than one index (say, people and concepts) for the same text. In this ...
1
vote
1answer
158 views
How can I create an index with indices having a huge amount of sub-categories with LaTeX?
I want to reproduce an index written in proprietary format, doc. It uses weird indexing such as "Aa1", "Aa" and "A". I need indexing tools for doing unrestricted amount of sub-categories in index and ...
4
votes
1answer
206 views
Fixing page number references when adding multiple indices to ToC
Friends, I'm stuck with a funny error: when I add multiple indices in my table of contents, all page number references mess up. It's probably something easy to solve, but I can't figure out what it ...
4
votes
3answers
346 views
\index causing spurious whitespace
I'm having a problem with the \index command causing unwanted whitespace:
\documentclass[a4paper,11pt,oneside]{book}
\usepackage{makeidx}
\makeindex
\def \nothing #1{}
\begin{document}
\noindent ...
1
vote
1answer
114 views
Names and terms
Are there any packages that would help to handle titles and names in the text?
formatting: italics, quotation marks
index generation: removing articles, rearranging names to Last, First in the index
...
11
votes
3answers
1k views
How to use xindy with XeTeX/LuaTeX?
According to Xindy revisited: Multi-lingual index creation for the UTF-8 age (TUGboat), “if one has a raw index file that was produced by [XeTeX], one can use xindy; it will ‘just work’.”
...
3
votes
1answer
526 views
“Manual” customizable reference text
For a document I am writing, I am considering a table indexed by references to positions in the text with a description of each item.
I know already that I can create a phantom section, and make a ...
2
votes
1answer
800 views
Bibtex and index of authors
Is there any way of automatically creating an author index based on
citations via bibtex?
Thanks,
Anja
7
votes
2answers
936 views
Index shouldn't start new page
I am writing an article in LaTeX 2e with \documentclass[twocolumn]{article}, including an index. The document prelude includes \usepackage{makeidx} and the \makeindex command. At the point where I ...
8
votes
1answer
430 views
Italic index entries have no link in PDF
I have a problem when adding index entries. When I use just the vanilla \index{...}, the generated PDF contains links on the page numbers in the index. But when using \index{...|textit} to mark index ...
2
votes
2answers
251 views
\pfill probably conflicting with other commands or packages
Friends, I'm stuck with the following issue: I have a document with several indices. The splitidx package deals with them with no problems. It happens that I have some very long index entries, so I ...
8
votes
1answer
303 views
Styling very long index entries to look more aesthetic
I wrote the following style for makeindex:
headings_flag 1
heading_prefix "{\\bfseries "
heading_suffix "}\\nopagebreak\n"
delim_0 " \\dotfill "
delim_1 " \\dotfill "
delim_2 " \\dotfill "
which ...
6
votes
1answer
180 views
Setting the same distance from the top of the page for chapter and index titles
I noticed that the distance from the top of the page to the chapter title differs from the table of contents and list of <> ones. I can see why, as these elements have specific purposes and ...
3
votes
1answer
158 views
Formatting the index from the songs package
I've been using the songs package to generate songbooks. I've been tweaking the package for my needs, but one of the remaining issues is the \showindex command. Consider the following code:
...
2
votes
1answer
90 views
Preserve alphabetical order in index when the entry has a TikZ code
Friends, as a follow up to Overlapping TikZ nodes to look as a tape strip, I added a TikZ code to an index entry using the splitidxpackage. Consider this code:
\documentclass{article}
...
5
votes
1answer
376 views
Properly sort index containing utf8 characters?
If my input file is utf8 encoded, how to I create an index where the entries are properly sorted?
Minimal example
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\makeindex
...
7
votes
1answer
675 views
BibLaTeX: sorting alphabetically with non-latin characters (Ś)
Biblatex indexing works very well with latin names. But when an author has foreign name (Łukasiewicz) the Ł letter is changed to \IeC {\L} and makeindex is not able to sort it well. In Polish it ...
3
votes
1answer
368 views
Automatically index acronyms
I'm using the acronym package. Is it possible to automatically add an index entry each time an acronym is used?
4
votes
1answer
334 views
Prevent column break in multicolumn index
I am using imakeidx to generate a multicolumn index with makeindex.
Here is an excerpt from my .ind:
\item \BRbooktitlestyle {\BRepistlenumberstyle {1}Jean}
\subitem ...
5
votes
2answers
283 views
Mini index for subsection
There is the following code:
\subsection{some subsection}
Some \mindex[mean=aaa]{sentence} with some \mindex[mean=bbb]{unknown} words.
\listminiindexfromsubsection
The expected output:
Some ...
8
votes
2answers
539 views
Make index entries refer to something other than the page numbers
For a given book which is a daily devotional, I have no page numbers at all, but each section corresponds to a day in the year, with one day per page. I generate an index of Bible references in the ...
5
votes
1answer
152 views
How to create index entry for \n?
I can't get LaTeX to generate index entry for newline \n. I tried \index{"\\n"} and \index{"\n"} and \index{\n} and \index{\\n}. None of these seem to work.
I am getting errors like:
! LaTeX Error: ...
4
votes
0answers
214 views
What should go into index of the document? [closed]
So I have written a programming book and now I am adding \index for different keywords and terms. I am wondering what should I really put into index? If I mention keyword in the document 10 times, ...
17
votes
2answers
431 views
What is the correct way to generate an index?
For creating an index I am currently including
\usepackage{makeidx}
\usepackage{index}
\makeindex
[...] \index{...} [...]
\printindex
into the document (and run makeindex inbetween compilations). ...
2
votes
1answer
256 views
Changing the style of index levels
I would like to change the style of the levels in an index. For example, let's say I have an index like:
Foo
bar, 1
barbar, 2
Bar
foo, 5
and I would like the first level to be ...
2
votes
1answer
225 views
Redefining ordering in index
I'm generating an index of Bible references (using the bibleref) package. Bible references are usually not sorted by alphabetical order of book, but rather by order of appearance in the Bible ...
5
votes
3answers
575 views
Setting the name of an index with makeidx and adding to table of contents
I would like to change the name of my index, so that instead of "Index", it reads "Index of whatever I want". I've tried quite a few things:
redefining \indexname, after or before calling \makeindex
...

