From: drgz d. <sy...@ho...> - 2010-08-29 14:07:40
|
Hi all, I just installed the 2.9 beta, and I'm experiencing some difficulties compiling a document with LuaLaTeX. The document is \documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage{unicode-math} \setmainfont{XITS} \setmathfont{XITS Math} \begin{document} \begin{align} \nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t} \quad \nabla \cdot \mathbf{D} = \rho_f \end{align} \begin{align} \hat{\mathbf{h}} = \left[\hat{h}_0\,\hat{h}_1\,\hat{h}_2\,\ldots\,\hat{h}_{P-1}\right]^T \end{align} \end{document} The document compiles with LuaLaTeX with TeXLive2010 pretest on my Ubuntu 10.04 installation; however, with MikTeX 2.9beta I get the following error during compilation (I've attached the log - hope it's OK): ! Missing control sequence inserted. <inserted text> \inaccessible l.7 \setmathfont{XITS Math} ? If I try to compile the same document with in example XeLaTeX (with 2.9beta) everything works fine, and the font is the correct one, etc. So then the question is; what do I do in order to be able to compile with LuaLaTeX? Best regards, D. |