On Sat, Nov 02, 2024 at 04:05:09PM +0200, Matvii Jarosh wrote: > Hello everyone, I use texinfo, but I have to display the Cyrillic, I don't > get to do it in pdf, I have searched a lot and never found the answer to my > question, can you tell me how to do it? > >
You have a couple of options. One is to use XeTeX or LuaTeX to process the Texinfo files with texinfo.tex. The input encoding of the files would most likely have to be UTF-8. This has successfully worked with Japanese and Chinese language manuals in the past, so would likely work with Cyrillic alphabets. You would run texi2pdf as "PDFTEX=luatex texi2pdf" or "PDFTEX=xetex texi2pdf". You could also use the LaTeX output from texi2any with the --latex option and then convert the output to PDF. There are txi-ru.tex and txi-uk.tex files distributed with Texinfo for Russian and Ukranian translations respectively (added 2006-04-26, commit 6219630). (The Serbian translation uses the Latin alphabet.) However, I am not certain what character encoding they use. Running "iconv -f KOI8-R -t UTF-8 txi-ru.tex" and "iconv -f KOI8-U -t UTF-8 txi-uk.tex" produced plausible looking results. However, I do not know what if any support there has ever been for KOI8 in texinfo.tex, how or if these translation files were used and what extra patching may have been done at the time to make it possible.