I've recently noticed that if I have

\usepackage[latin]{babel}

in my TeX preamble, then I get an error like:

! LuaTeX error ...xmf-dist/tex/luatex/luaotfload/luaotfload-fontloader.lua:3384:
 bad argument #1 to 'gsub' (string expected, got nil).
<to be read again> 
\def 
l.3 \begingregorioscore
                     %

I don't know if this is because I upgraded to TeX Live 2014 or if we
have recently gained some incompatibility with babel.

Unfortunately, I am not TeX-savvy enough to know what is wrong or how
even to look for what is wrong.  The offending line in
luaotfload-fontloader.lua is

  name=string.gsub(name,"\\","/")

... so I'm assuming name is nil at this point.

If I comment out the babel line, then things work again, so I don't know
what is interacting to break this.

Any ideas?

Henry

_______________________________________________
Gregorio-devel mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-devel

Répondre à