Dear José Carlos, The error goes away if you set a math font using the \setmathfont command as in
\setmathfont{Asana Math} António Fernandes On Oct 3, 2010, at 6:26 PM, José Carlos Santos wrote: > Hi all, > > If I compile this file: > > \documentclass{article} > \usepackage{fontspec} > \usepackage{xltxtra} > \usepackage{unicode-math} > \begin{document} > $P'$ > \end{document} > > I get this error message: > > ! Undefined control sequence. > <argument> \um_prime_single_mchar > > l.6 $P'$ > > Why is that? The unicode-math documentation says: > > In regular LATEX, primes can be entered with the straight quote character ', > and multiple straight quotes chain together to produce multiple primes. [...] > For Unicode maths, we wish to conserve this behaviour. > > Therefore, I don't see why this happens. > > If, instead of the straight quote character ' I use a prime ′, then I get no > error message, but I get: > > Missing character: There is no ′ in font cmr10! > > What should I do in order to get the prime? > > Best regards, > > José Carlos Santos > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex