[XeTeX] accented input

Valentino Volonghi dialtone at gmail.com
Sat Feb 10 11:29:33 CET 2007


Hi all when I try to compile a tex document like the following:

==
\documentclass[12pt]{report}
\usepackage[utf8x]{inputenc}
\usepackage{xunicode}
\usepackage{fontspec}
\usepackage{xltxtra}
\usepackage{pdfsync}

\begin{document} \setromanfont{Times}

é à

\end{document}
==

I get:

==
This is XeTeXk, Version 3.141592-2.2-0.995 (Web2C 7.5.5)
Typesetting: ./main.tex


Document Class: report 2005/09/16 v1.4f Standard LaTeX document class
./main.tex:11: Paragraph ended before é was complete.
==

I'm using TextMate to edit LaTeX on OSX.

When instead of é à I use other utf-8 chars like kanji everything works fine.

if I use plain gwTeX instead it accepts the accented letters (but not
the kanji of course).

Does anyone know why?

Thanks for your help.

-- 
Valentino Volonghi aka Dialtone
Now running MacOS X 10.4
TechBlog: http://vvolonghi.blogspot.com
Home Page: http://www.twisted.it


More information about the XeTeX mailing list