[XeTeX] Letterly template broken

Kai Hendry hendry at iki.fi
Wed Nov 10 13:38:25 CET 2010


Hi there,

I run a free service at http://letterly.com/ and I've recently seen
the service break. It probably is due to some xetex update, so I hope
you can help.


\documentclass[british,a4paper]{letter}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\usepackage{xunicode}
\setmainfont{Charis SIL}
\usepackage{babel}
\begin{document}

\address{
256 Edgware road\\
W2 1DS
}

\letter{
Barclays\\
Woking
}

\signature{Kai Hendry}

\opening{George}

Hello there

\closing{Sincerely,}

\end{document}




It seems to choke on the first lines:

$ xetex letter.tex
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
 restricted \write18 enabled.
entering extended mode
(./letter.tex
! Undefined control sequence.
l.1 \documentclass
                  [british,a4paper]{letter}
?


More information about the XeTeX mailing list