<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Calibri">This time, I *think* the culprit is fontspec,
which was recent updated (MikTeX 2.9). Or unicode-math (also
updated). Or both. MWE (at bottom) no longer compiles. Generates
following error message (I'vee snipped out a bunch of stuff which
I don't think is related to the failure of the file to compile).
Any suggestions? <br>
<br>
Command Line: lualatex.exe --shell-escape "mwe.tex"<br>
Startup Folder: C:\Users\egc\Desktop<br>
<br>
This is LuaTeX, Version beta-0.70.2-2012060719 (MiKTeX 2.9) <br>
\write18 enabled.<br>
<br>
<snip><br>
<br>
Module luatexbase-mcb info: inserting 'luaotfload.find_vf_file'<br>
(luatexbase-mcb) at position 1 in 'find_vf_file'<br>
Module luatexbase-mcb info: inserting
'unicodemath.set_sscale_diments'<br>
(luatexbase-mcb) at position 1 in
'luaotfload.patch_font'<br>
)<br>
<br>
LaTeX Warning: You have requested, on input line 41, version<br>
`2013/05/20' of package luaotfload,<br>
but only version<br>
`2012/03/27 v1.26 OpenType layout system'<br>
is available.<br>
<br>
(C:/Program Files (x86)/MiKTeX
2.9/tex/latex/fontspec/fontspec.lua)<br>
("C:/Program Files (x86)/MiKTeX
2.9/tex/latex/fontspec/fontspec-patches.sty"<br>
("C:/Program Files (x86)/MiKTeX 2.9/tex/latex/base/fixltx2e.sty")<br>
*************************************************<br>
* LaTeX warning: "xparse/redefine-command"<br>
* <br>
* Redefining document command \oldstylenums with arg. spec. 'm' on
line 128.<br>
*************************************************<br>
) ("C:/Program Files (x86)/MiKTeX
2.9/tex/latex/fontspec/fontspec-luatex.sty"<br>
("C:/Program Files (x86)/MiKTeX 2.9/tex/latex/base/fontenc.sty"<br>
("C:/Program Files (x86)/MiKTeX 2.9/tex/latex/euenc/eu2enc.def")<br>
("C:/Program Files (x86)/MiKTeX
2.9/tex/latex/euenc/eu2lmr.fd")(load: C:/Users/<br>
egc/AppData/Local/MiKTeX/2.9/luatex-cache/generic/fonts/otf/temp-lmroman10-regu<br>
lar.lua)) ("C:/Program Files (x86)/MiKTeX
2.9/tex/xelatex/xunicode/xunicode.sty<br>
" ("C:/Program Files (x86)/MiKTeX
2.9/tex/latex/tipa/t3enc.def"(load: C:/Users/<br>
egc/AppData/Local/MiKTeX/2.9/luatex-cache/generic/fonts/otf/temp-lmromanslant10<br>
-regular.lua)(load:
C:/Users/egc/AppData/Local/MiKTeX/2.9/luatex-cache/generic/<br>
fonts/otf/temp-lmroman10-italic.lua)(load:
C:/Users/egc/AppData/Local/MiKTeX/2.<br>
9/luatex-cache/generic/fonts/otf/temp-lmroman10-bold.lua)<br>
("C:/Program Files (x86)/MiKTeX
2.9/tex/latex/euenc/eu2lmss.fd")(load: C:/Users<br>
/egc/AppData/Local/MiKTeX/2.9/luatex-cache/generic/fonts/otf/temp-lmsans10-regu<br>
lar.lua)) ("C:/Program Files (x86)/MiKTeX
2.9/tex/latex/graphics/graphicx.sty"<br>
("C:/Program Files (x86)/MiKTeX
2.9/tex/latex/graphics/keyval.sty")<br>
("C:/Program Files (x86)/MiKTeX
2.9/tex/latex/graphics/graphics.sty"<br>
("C:/Program Files (x86)/MiKTeX 2.9/tex/latex/graphics/trig.sty")<br>
("C:/Program Files (x86)/MiKTeX
2.9/tex/latex/00miktex/graphics.cfg")<br>
("C:/Program Files (x86)/MiKTeX
2.9/tex/latex/pdftex-def/pdftex.def"))))<br>
("C:/Program Files (x86)/MiKTeX
2.9/tex/latex/fontspec/fontspec.cfg")))<br>
luaotfload | Font names database loaded:
C:/Users/egc/AppData/Local/MiKTeX/2.9/<br>
luatex-cache/generic/names/otfl-names.lua(load:
C:/Users/egc/AppData/Local/MiKT<br>
eX/2.9/luatex-cache/generic/fonts/otf/temp-xits-regular.lua)<br>
! LuaTeX error ...les (x86)/MiKTeX
2.9/tex/latex/fontspec/fontspec.lua:45: atte<br>
mpt to call upvalue 'check_script' (a nil value)<br>
stack traceback:<br>
...les (x86)/MiKTeX 2.9/tex/latex/fontspec/fontspec.lua:45: in
function 'check<br>
_ot_script'<br>
<\directlua >:1: in main chunk.<br>
\fontspec_check_script:nTF ...ontspec_font","#1")}<br>
\if@tempswa
\prg_return_tr...<br>
l.4 \setmainfont{XITS}<br>
<br>
? <br>
<br>
<br>
\documentclass[11pt,letterpaper]{article}<br>
<br>
\usepackage{fontspec}<br>
\setmainfont{XITS}<br>
\usepackage{unicode-math}<br>
\setmathfont{XITS Math}<br>
<br>
\begin{document}<br>
<br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent
in tincidunt nulla. Donec quis laoreet est. Aenean vitae est
felis, a venenatis magna. Mauris semper bibendum vulputate. Etiam
bibendum quam ut erat rutrum consequat.<br>
<br>
\begin{equation}<br>
\frac{dN}{dt}=rN\left(1-\frac{N}{K}\right)<br>
\end{equation}<br>
<br>
\end{document} <br>
<br>
<br>
<br>
<br>
</font>
</body>
</html>