[XeTeX] Problem: Beamer+xelatex+\XeTeXdefaultencoding

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Jun 21 23:01:12 CEST 2010


On 21/06/2010 21:34, Стас Фомин wrote:
>> I don't know what is happening there but the default encoding for xetex is UTF-8 so there is no need to set the encoding.
>
> Yes, I know.
> Actually, I need "cp1251" encoding, but got this problem.
> This problem I reproduce with both "cp1251" and "UTF-8"
> so I try to ask about more startard encoding.
>
> I attached all test files (source, logs, aux, …) zipped…

See my post on the LaTeX Community website. The issue is not beamer, but 
hyperref, and only shows up with Windows (LF-CR) line endings.  Minimal 
example for me is

\documentclass{article}
\XeTeXdefaultencoding "UTF-8"
\usepackage{hyperref}
\begin{document}
\end{document}

(when saved LF-CR: fine with LF-only line endings).
-- 
Joseph Wright


More information about the XeTeX mailing list