Hot answers tagged

78 votes
Accepted

Differences between "xindy" and "makeindex"

Short Answer xindy is far more flexible than makeindex. Unlike makeindex, xindy supports UTF8, can sort according to different language rules and can support enumeration systems outside of the ...
user avatar
14 votes
Accepted

Use xindy to sort by bible book instead of ABC – or: How to add custom letter groups?

The easiest solution is to use Klingon: change the line \makeindex[options = -M index-style -C utf8] in your TeX file to \makeindex[options = -M index-style -C utf8 -L klingon] This produces a PDF ...
user avatar
  • 42.8k
10 votes

Customize xindy index layout

For a smilar work, in italian (songbook with songs beginning with accented letters) I used this style file (indicealfabetico.xdy) (markup-index :open "\begin{theindex}\sffamily~n \providecommand*\...
user avatar
8 votes

How to use Xindy with MiKTeX?

Since June 2015, xindy is available for installation in miktex package manager. See version 5653 of the package repository. Don't forget to update database.
user avatar
  • 10.7k
8 votes
Accepted

Making and sorting index for Russian

Due to some constraints, the \index command doesn't work very well with UTF-8 characters (something which could only be solved with a brand new version, I'm afraid.) You can overcome the issue ...
user avatar
  • 1.0m
7 votes
Accepted

Sorting Icelandic index correctly using LaTeX (accented characters after non-accented)

The solution can be found at question Texindy sorting Icelandic - Edit 2 A minimalistic version and LuaTex is not required to obtain the solution. Download the first file using a terminal and place ...
user avatar
  • 1,411
7 votes
Accepted

MiKTeX and Xindy problems

The problem is indeed related to a MiKTeX installation in a path containing spaces. It can be solved by a small edit in C:\Program Files\MiKTeX2.9\scripts\xindy\xindy.pl replace in line 779 @...
user avatar
  • 86
7 votes

How can I convince hyperref and xindy to play together nicely?

Here's the solution that worked for me (based on Heiko's and michal's replies). \documentclass{article} \usepackage{lipsum} \usepackage[xindy]{imakeidx} \usepackage[hyperindex=false]{hyperref} \def\...
user avatar
  • 71
6 votes

Customize xindy index layout

Not entirely shure I answer your question sufficiently, but using the provided MWE I created the desired result using the "glossaries" package instead of trying to tweak "imakeidx". \documentclass{...
user avatar
  • 61
6 votes

Has anyone managed to use \glossaries with TeXstudio on Windows?

The problem may be because the 'makeglossaries' command (that generates the .gls file) is not called before pdflatex is invoked. Step 1: Make sure that 'Makeglossaries' command is properly defined as ...
user avatar
  • 331
6 votes

Xindy doesn't sort keywords properly

It turns out that changing the keyword sorting order involves defining a new language. It's not sufficient to define new letter groups in a .xdy file. (Once you define the new language, however, you ...
user avatar
  • 1,066
6 votes

Strange sorting of Greek letters using glossaries with xindy

This seems to be a problem with the way xindy sorts sub-entries. It isn't specific to the glossaries package. Analysis The following is a simpler illustration: \documentclass{article} \usepackage{...
user avatar
6 votes
Accepted

xindy no lettergroup in the index

A little MWE: \documentclass[a4paper]{memoir} \makeindex \begin{document} B\index{Bbb} X\index{Xxx} \printindex \end{document} Xindy then generates the following .ind file: \begin{theindex} \...
user avatar
  • 49.6k
6 votes
Accepted

How to make xindy work with Lualatex?

It is a bug in glossaries. It calls xindy with an empty -C value as the code page is not set: xindy.pl -I xindy -L english -M test-nomgt -C -t test-nomgt.glg -o test-nomgt.gls test-nomgt.glo Report ...
user avatar
5 votes
Accepted

texindy style file: adding space between grouped entries

First solution: You see that the .ind file generated with your code is something like that: \begin{theindex} \providecommand*\lettergroupDefault[1]{} \providecommand*\lettergroup[1]{% \...
user avatar
5 votes
Accepted

How to sort glossaries entries by alphabetical order then by order of appereance

I would suggest using \makenoidxglossaries together with \printnoidxglossary[sort=standard] which sorts the elements first according to the sort-key and then according to usage. \documentclass{...
user avatar
  • 556
5 votes
Accepted

xindy: rule to remove index entry

Here it is. I sort "Test" into a separate letter group "DontIndex", and then surround that group with code that just eats it. You can add other keys to the same group, as shown in the code below, and ...
user avatar
5 votes
Accepted

How to install xindy on Ubuntu

Many LaTeX packages and related tools are also available in the official Ubuntu repositories and can be installed with apt. The advantage of using this repository is that installing is easy, and ...
user avatar
  • 30.4k
4 votes

Making and sorting index for Russian

OK, thanks, this works now! But, there is some difference in English and Russian parts of Index. I mean each Russian word (group of words) has corresponding first letter in bold before, and English ...
user avatar
  • 166
4 votes
Accepted

reledmac and xindy

Hum, maybe the handbook is unclear, but here are the following steps to get what you need. The xindy+hyperref option doesn't replace the xindy options. So you need to replace \usepackage[series={A,B,...
user avatar
  • 10.7k
4 votes
Accepted

Index with pages + story numbers

Edit: I changed the definition of \thepagestory, because the old definition could sometimes give the wrong page number (around a page break). I changed the document to use \usepackage{index} instead ...
user avatar
4 votes
Accepted

Errors when generating epub and mobi formats with tex4ebook

There are two main sources of problems - first is that chesboard package uses Tikz to draw some stuff to the chess board and it produces broken SVG images, the second issue is that \usestorebox and ...
user avatar
  • 45.5k
4 votes

Use xindy to sort by bible book instead of ABC – or: How to add custom letter groups?

I solved this problem for my work without using xindy. My alternative was to use sort keys. Thus: \index{19@Psalms!0901 @9:1}. 19 is Psalms' order in the Hebrew Bible, so this number before the @ sign ...
user avatar
  • 231
4 votes
Accepted

xindy, splitindex and attributes

I get the following from when I compile your MWE: This seems to be what I'd expect. For example, Laum is indexed multiple times on page 1, but only the occurrence without attributes is included, ...
user avatar
  • 184k
4 votes
Accepted

Adding a new engine in TeXShop

Making a texindy Engine Here's what your texindy.engine should look like. #! /bin/bash PATH=/Library/TeX/texbin:/usr/local/bin:${PATH} bfname=${1%\.*} texindy -g "$bfname".idx Make sure you set the ...
user avatar
  • 203k
4 votes
Accepted

xindy not working in TeXLive - xindy kernel not found

xindy uses GNU CLISP interpreter internally, so it has to be installed along with the xindy script (written itself in Perl). If xindy can't find clisp (or clisp.exe for the case of Windows) it emits ...
user avatar
4 votes

MWE for Norwegian index with Xindy, anyone?

Run with shell escape enabled or run xindy -M texindy -L norwegian -C utf8 <filename>.idx after a LaTeX run. \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \...
user avatar
  • 1.0m
4 votes
Accepted

output_dir from latexmk breaks makeglossaries

Actually, the problem is not the use of $out_dir but that you only defined a custom dependency for making a .gls file from a .glo file. That's for a regular glossary. For your document, you need to ...
user avatar
  • 9,774
4 votes
Accepted

Latin and cyrillic index

I did it in this way (slightly modified code taken from Sergey Golovan book): (define-letter-groups ("A" "Ą" "B" "C" "Ć" "Č" "D" "E" "Ę" "F" "G" "H" "I" "J" "K" "L" "Ł" "M" "N" "O" "Ó" "P" "Q" "R" "S"...
user avatar
  • 841

Only top scored, non community-wiki answers of a minimum length are eligible