[luatex] detailed 'diagnostic' of MikTeX/Lua*/fontspec issues

Ulrike Fischer luatex at nililand.de
Sun Jun 30 18:48:30 CEST 2013

Am Sun, 30 Jun 2013 12:35:54 -0400 schrieb Evan Cooch:

>>> The termination always occurs after it has started scanning my
>>> working directory (which happens to be the Desktop for my
>>> account, which again is an admin account).

>> Then I would suggest to test if it works if you change the working
>> directory to a folder with a simple name - the desktop can contain
>> problematic chars.

> This suggestion definitely helped. Now, luaootfload-tool successfully 
> rebuilds the FNDB.  So, definitely a step in the right direction.

You should give some informations about the desktop path so that
Philipp can debug the code. 

> ))(load luc: 
> $TEXMFCACHE/luatex-cache/generic/fonts/otf/xits-math.luc)(load luc:
>   $TEXMFCACHE/luatex-cache/generic/fonts/otf/xits-mathbold.luc)
> ! Undefined control sequence.
> \um_set_mathcode:nnn #1#2#3^^@-\Umathcode
>                                          \int_eval:n {#1}=\mathchar at type 
> #2\c...
> l.6 \setmathfont{XITS Math}

That's due to the outdated lualatexiniconfig.tex I mentioned on the
miktex list.

Copy lualatexiniconfig.tex to some local texmf tree in a folder

Then add 'umath' behind 'pdftex' like this:

    tex.extraprimitives('etex', 'pdftex', 'umath'))

Then update the fndb and rebuild the lualatex formats (probably with
the user-gui of miktex, tab "formats", select lualatex and click on

Ulrike Fischer 

More information about the luatex mailing list