How to handle Cyrillic ymbols with soul package?
\documentclass[a4paper,10pt]{book}
\usepackage{polyglossia}
\defaultfontfeatures{Ligatures={TeX}}
\setmainfont{Liberation Serif}
\setmonofont{Liberation Mono}
\setmainlanguage{ukrainian}
\usepackage{soulutf8}
\begin{document}
\mainmatter
Короткий зміст\par
Brief content\par
\so{Короткий зміст}\par
\so{Brief content}
\end{document}
Compile with
xelatex test.tex
I assume that this is caused by the absence of Cyrillic characters in the internal font used by soul package. It is possible to set this font with \font\SOUL@tt= but I don't know how I can use a font with this command.
I added \tracinglostchars=2 and saw this:
Missing character: There is no К in font ectt1000!
Missing character: There is no о in font ectt1000!
...
Missing character: There is no с in font ectt1000!
Missing character: There is no т in font ectt1000!




lua-ulpackage handles underlining flawlessly. – Skillmon Dec 12 '21 at 18:16\soyou could use\textlsprovided by themicrotypepackage in LuaTeX. – Skillmon Dec 12 '21 at 18:23soulwork for you: You'll have to find a monospaced font that contains all characters you need. – Skillmon Dec 12 '21 at 18:46