15 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 ...
ShreevatsaR's user avatar
  • 45.5k
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 ...
egreg's user avatar
  • 1.1m
7 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{...
Nicola Talbot's user avatar
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 ...
Jim C's user avatar
  • 341
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} \...
daleif's user avatar
  • 54.8k
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 ...
Pieter van Oostrum's 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 ...
Marijn's user avatar
  • 37.8k
5 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 ...
Alan Munn's user avatar
  • 219k
5 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 ...
John Collins's user avatar
  • 11.2k
5 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 ...
Ulrike Fischer's user avatar
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 ...
stu003's 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,...
Maïeul's user avatar
  • 11k
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 ...
Pieter van Oostrum's 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 ...
michal.h21's user avatar
  • 50.8k
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 ...
niesen's user avatar
  • 241
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, ...
cfr's user avatar
  • 199k
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 ...
Sergei Golovan's user avatar
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"...
andc's user avatar
  • 951
4 votes
Accepted

\leavevmode@ifvmode undefined for xindy/texindy?

You need to make two commands robust. They break when going through the idx: \usepackage[texindy]{imakeidx} \usepackage{etoolbox} \robustify\enspace \robustify\TeX (In a development version of latex ...
Ulrike Fischer's user avatar
4 votes
Accepted

Multiple \seealso under one index entry with imakeidx and texindy

The separator for multiple seealso entries is defined in the file makeindex.xdy, which is normally located in the xindy installation directory. If you create an alternative makeindex.xdy file in the ...
Marijn's user avatar
  • 37.8k
4 votes
Accepted

Error: xindy ask for libncurses.so.5

You need the library for ncurses version 5. In Ubuntu that is the package libncurses5.
TeXnician's user avatar
  • 33.6k
3 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 ...
Ilia w495 Nikitin's user avatar
3 votes

general form of a xindy log file

As a last resort, you can look at xindy's source code available on GitHub. In file base.lsp we find format definitions (defparameter *nraw-error-message* "~&WARNING: ") (defparameter *oops-error-...
siracusa's user avatar
  • 13.4k
3 votes

Why does \let\oldindex not work in this code?

Since no one has been able to provide an answer, here's an alternative approach. Instead of using makeidx and xindy this uses glossaries-extra and bib2gls. This means that instead of using \index the ...
Nicola Talbot's user avatar
3 votes

How to use multiple location classes in xindy?

I couldn't find anything in the xindy docs that suggests that you can specify optional elements, so it seems like the easiest thing is just to add these location classes to the end of the xdy you gave ...
adam.baker's user avatar
  • 1,126
3 votes

xindy no lettergroup in the index

You can make a simple no-lg.xdy: (define-letter-groups ("")) and run xindy -M no-lg ... This will make just one \lettergroup{} in the beginning of you .ind file.
pantlmn's user avatar
  • 1,376
3 votes
Accepted

xindy with AUCTeX

AUCTeX has an entry for Xindy in TeX-command-list since 2013, but probably no one ever used it, since it seems it's wrong. It turned out that the OP wanted to run the command xindy -L english -C ...
giordano's user avatar
  • 8,486
3 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} \...
egreg's user avatar
  • 1.1m
3 votes
Accepted

How to make xindy not just read but also apply an .xdy style file?

I can't tell definitely about MikTeX, but on my TeXLive on a Debian GNU/Linux system xindy uses so called prefixes to put accented letters into lettergroups and to sort them. For example, the ...
Sergei Golovan's user avatar

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