LaTeX forum ⇒ XeTeXProblem: Beamer+xelatex+\XeTeXdefaultencoding

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
fomin
Posts: 10
Joined: Thu Jun 17, 2010 10:52 am

Problem: Beamer+xelatex+\XeTeXdefaultencoding

Postby fomin » Mon Jun 21, 2010 7:58 pm

Hello all!

I have full installation of Miktex 2.8.
This is my minimal working sample:

  1. \documentclass{beamer}
  2. \XeTeXdefaultencoding "UTF-8"
  3. \begin{document}
  4. \end{document}


This sample compiled by xelatex results to one waste page with
"@safe@act @safe@act" (see PDF attached).

Same problem if «\XeTeXdefaultencoding "cp-1251"».

What is wrong?

Thanks all in advance,
Sincerely, Stas Fomin
Attachments
test.pdf
Result of xelatex compilation
(4.46 KiB) Downloaded 277 times

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Postby josephwright » Mon Jun 21, 2010 8:41 pm

Possibly a stupid question, but did you save your files in UTF-8 format? I've tried your example and all seems to be fine.
Joseph Wright

fomin
Posts: 10
Joined: Thu Jun 17, 2010 10:52 am

Postby fomin » Mon Jun 21, 2010 10:10 pm

Yes, I save in UTF8 without BOM (= plain ASCII)/

I attached all test files (source, logs, aux, …) zipped…
Attachments
xelatex-troubles.zip
All files (include log, aux, etc…)
(11.95 KiB) Downloaded 135 times

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Postby josephwright » Mon Jun 21, 2010 10:47 pm

Seems to be a line-ending effect. All is well with LF (Unix) endings, but the odd effects start with LF-CR (Windows) line ends.
Joseph Wright

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Postby josephwright » Mon Jun 21, 2010 10:55 pm

Ah, this seems not to be a beamer issue:
  1. \documentclass{article}
  2. \XeTeXdefaultencoding "UTF-8"
  3. \usepackage{hyperref}
  4. \begin{document}
  5. \end{document}

shows the same issue when saved LF-CR. I'll report on c.t.t. to Heiko Oberdiek and see what happens.
Joseph Wright

fomin
Posts: 10
Joined: Thu Jun 17, 2010 10:52 am

Postby fomin » Sat Jul 03, 2010 11:38 am

  1. shows the same issue when saved LF-CR. I'll report on c.t.t. to Heiko Oberdiek and see what happens.

Still no workaround for the bug?


Return to “XeTeX”

Who is online

Users browsing this forum: No registered users and 1 guest