I believe the problem is with babel: Try replacing &quot;ngerman&quot; with for example &quot;english&quot; and you&#39;ll find it works.<br><br>Andrew<br><br><br><div class="gmail_quote">On 13 May 2010 00:48, Tobias Schoel <span dir="ltr">&lt;<a href="mailto:liesdiedatei@googlemail.com">liesdiedatei@googlemail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
****<br>
<br>
\documentclass{article}<br>
<br>
\usepackage{xunicode}<br>
\usepackage[quiet]{mathspec}<br>
\usepackage{xltxtra}<br>
<br>
\setallmainfonts[Mapping=tex-text]{Linux Libertine O}<br>
<br>
\usepackage[ngerman]{babel}<br>
<br>
\begin{document}<br>
2ab \(2ab\beta\)<br>
<br>
<br>
\end{document}<br>
<br>
****<br>
<br>
Running this throug xelatex makes it hang. Commenting out<br>
   \setallmainfonts[Mapping=tex-text]{Linux Libertine O}<br>
or<br>
   \usepackage[ngerman]{babel}<br>
makes it work with the desired result.<br>
<br>
ciao<br>
<br>
Toscho<br>
<br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
 <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</blockquote></div>