I would like to remove comma at the end of the phrases in the index, just before page numbers. So my question is essentially the same, as it was asked here: Is there an easy way to hide comma (,) from the end of the indexed words? But the answer was given for the case of makeindex, and I'm using xindy to sort phrases.
The minimal working example (TeXLive 2017, Windows, PL localization):
%& -translate-file=cp1250pl
\documentclass[a4paper]{article}
\usepackage{polski}
\usepackage[texindy]{imakeidx}
\makeindex[options=-L polish -C cp1250]
\begin{document}
a\index{a}
abc\index{abc|see{a}}
\printindex
\end{document}
Then, I have the following output in the index:
However, I would like to remove commas after the phrases, so in the index, there will be something like "a 1" and "abc zob. a".
\documentclass{article}\usepackage[xindy]{imakeindex}\begin{document}Test\index{test}.\end{document}
as long as it demonstrates the problem.