I have problem with processing with XeLaTeX files in Cyrillic "cp1251" encoding.
Let's consider attached minimal working sample (see attached file for consistency).
Code: Select all
Code, edit and compile here:
\documentclass{book}\usepackage{xecyr}\XeTeXdefaultencoding "cp1251"\XeTeXinputencoding "cp1251"\usepackage[english,russian]{babel}\usepackage{xltxtra}\setmainfont{Calibri}\begin{document}\begin{figure}Figure 1/Иллюстрация 1\caption{Figure 1/Иллюстрация 1}\end{figure}\begin{figure}Figure 1/Иллюстрация 2\caption{Figure 1/Иллюстрация 2}\end{figure}\begin{figure}Figure 1/Иллюстрация 3\caption{Figure 1/Иллюстрация 3}\end{figure}\listoffigures\end{document}
The problem appears on page 3, where \listoffigures expanded.
Captions in the List of figures expanded in wrong encoding ("UTF-8" over "cp-1251").
The xxx.lof file in "UTF-8" encoding.
The same problem with
\listofalgorithms
\listoffigures
\listoftables
What can I do?
Thanks all in advance,
Sincerely, Stas Fomin