[XeTeX] accented input
Stephen Moye
stephenmoye at mac.com
Sat Feb 10 12:02:55 CET 2007
On Feb 10, 2007, at 5:29 AM, Valentino Volonghi wrote:
> 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 TeXShop, but I got the same error you got with the code you
supplied. This, however, worked:
%%=====8><-----%%
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[12pt]{report}
%\usepackage[utf8x]{inputenc}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{pdfsync}
\begin{document} \setromanfont{Times}
é à
\end{document}
%%=====8><-----%%
Stephen
More information about the XeTeX
mailing list