makeindex
works fine!
With the International MakeIndex project, Joachim Schrod and
Gabor Herr have shown that adding extensions to
makeindex
is a difficult job. Thus we have decided to develop a
new indexing tool from scratch. The new tool is based on a new
requirements analysis and offers very interesting features for
processing very complex indexing schemes. The resulting index model is
described in:
makeindex
wizard. What does makeindex
doesn't?
Here are the most important differences between makeindex
:
(sort-rule "ä" "ae")
defining that a word containing the umlaut-a will be sorted as if it
contained the letters ae
instead. This is one form of how the
umlaut-a is sorted into german indexes. With an appropriate set of
rules one can express the complete rules of a specific language.
makeindex
is able to recognize and
process arabic numbers, roman numerals and letter-based alphabets as
specifiers for the indexed location. Simple composite structures of
these are also possible to process. This implicit recognition scheme
has completely been dropped in favour of a well-defined and very
powerful declaration scheme called location-classes. Thus,
(define-location-class "page-numbers" ("arabic-numbers"))
This declares that page numbers consist of the enumeration of the arabic numbers. The arabic numbers are referred to as alphabets. Users may use the pre-defined alphabets arabic numbers, roman numerals, etc. or define new alphabets as needed. See the tutorial that comes with this distribution for some examples.
With makeindex
one can assign a
markup to each index entry using the encapsulators (usually following
the vertical bar sign in an index entry command). For example in the
specification
\index{xindy|bold}
the encapsulator is bold
which encapsulates the page-numbers in
the markup-phase. An additional TeX-macro must be supplied to assign
some markup with the page number. This concept has completely been
dropped in
The result of this design decision is that the user is required to
define the attributes in the style file and not in the document
preparation system. The reasons lie in the more powerful markup scheme
of makeindex
-like markup is only a small subset of
Cross-references were implemented in
makeindex
with the encapsulation mechanism, which only served for
markup purposes. This has been completely separated in
makeindex
must now be specified in the
indexstyle file. This sounds more restrictive than it is, because the
indexstyle files can be composed from several modules which makes it
possible to write style files in just a few lines of code.
The parser built into makeindex
has
completely been separated from the core makeindex
, but in our opinion
more maintainable than the makeindex
format. This requires a
separate filter that transforms arbitrary indexes to the tex2xindy
that comes
with this distribution.
Summed up, some of the implicit assumptions made by makeindex
have been replaced and now burdend to the user. The reason is that
many of makeindex
's assumptions were no longer valid in
multi-language environments or documents with arbitrary location
structures. This also characterizes