Although I read some postings about indices on the forum, I still have trouble with making an index in Polish. I want to have bold letters before a group connected with a single letter (like in the first picture, which was taken from another post to demonstrate my goal, also with diacritic letters - Ć, Ś). The entries should be also sorted alphabetically (like Ć comes after C)
How can I achieve that?
Here is the code, which was compiled with LuaLaTeX, and makeindex: https://www.overleaf.com/read/rnfrvvbxhfgr
I added also the second picture, which shows the current result.
The code of index is divided into two files (only a short parts, because I'm not sure that it is all):
- Preambuła/preambula.tex:
(...)
\usepackage{fontspec}
\usepackage{polski}
(...)
\usepackage[makeindex]{imakeidx} %obsługa indeksów
\makeindex[columns=2, options=-s names.mst -C utf8 -L polish]
- Zawartość końcowa/skorowidz.tex:
(...)
\printindex
(...)
- names.mst:
headings_flag 1
heading_prefix "\\textbf\{"
heading_suffix "}\\nopagebreak\n"
delim_0 ": "
delim_1 ": "
delim_2 ": "
delim_r "\\nohyperpage{-}"
- Example indexes with short part of text:
(... - from Rozdziały/planimetria.tex)
W dowolnym trójkącie dwusieczne\index{dwusieczna}, symetralne
\index{symetralna}, środkowe\index[names]{Srodkowa@Środkowa},
wysokości\index{wysokość} przecinają się w \myuline{jednym punkcie}.
(...)




makeindexandxindyare different programs to generate indices and they also use different options. It seems that you try to use options forxindywhile usingmakeindex. – Jasper Habicht Jul 14 '22 at 10:33xindy(texindy) instead ofmakeindex, yes? – constantin_d Jul 14 '22 at 10:45