[luatex] [luaotfload & fontspec] trunk errors

Diederick C. Niehorster dcnieho at gmail.com
Mon Mar 29 03:52:20 CEST 2010


Dear Khaled,

As you suggested, I have gotten the newest luaotfload from github.
I've installed it manually by analyzing the makefile, but that should
be fine (replaced all the files in $(TEXMFROOT)/tex/luatex/luaotfload
and created the directory in $(TEXMFROOT)/scripts/mkluatexfontdb +
copied mkluatexfontdb, amongst the other non-vital steps). Ran
mktexlsr.

Now, with the following minimal document
----
\documentclass[11pt]{article}
\usepackage[no-math]{fontspec}

\setmainfont[Ligatures=Common]{Arno Pro}

\begin{document}
\textbf{Theorem 1 (Residue Theorem)} Let $f$ be analytic in the region
$G$ \textit{G}
\end{document}
----
I get the error (log attached):
----
(c:/texlive/2009/texmf-dist/tex/luatex/luaotfload/luaotfload.lua
! LuaTeX error ...9/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua:22: atte
mpt to index global 'dir' (a nil value)
stack traceback:
        ...9/texmf-dist/tex/luatex/luaotfload/otfl-font-nms.lua:22: in main chun
k
        [C]: in function 'dofile'
        ...2009/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:48: in function
'loadm
odule'
        ...2009/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:154: in main chu
nk
        [C]: in function 'dofile'
        ...e/2009/texmf-dist/tex/luatex/luatextra/luatextra.lua:130: in function
 'use_
module'
        <\directlua >:1: in main chunk.
\luatexUseModule ...{luatextra.use_module([[#1]])}

l.57 \luatexUseModule{luaotfload}
----

Would this have something to do with the fontnamedb not being
generated properly? Do I need to any extra (one-time?) call to get
that done?

BTW, the link <http://github.com/mpg/luaotfload> in the luaotfload
README does not exist ;)

I'm on windows XP, "This is LuaTeX, Version beta-0.52.0-2010031722 (rev 3515)"

BTW, the offer for doing quick tests (just send me stuff, I can run
it) on Windows XP 32bit or Windows 7 64bit stands, just mail me
directly.

Best,
Dee


More information about the luatex mailing list