[lltx] Pre-built format at microtype

Robert w.m.l at gmx.net
Wed May 18 19:35:55 CEST 2016


On 18.05.16 13:29, Henrik Mannerström wrote:
> I just installed TeX Live 2016 pretest and everything seems to be working
> fine. However, I have a problem with using microtype and a pre-built
> format. Below I have a minimal test case. Everything works fine if I don't
> use microtype. LuaLaTeX will give the following error when I uncomment the
> commented line and try to use microtype:
>
> (/texlive/2016/texmf-dist/tex/latex/microtype/mt-LatinMode
> rnRoman.cfg[\directlua]:1: attempt to index global 'microtype' (a nil value)
> stack traceback:
>         [\directlua]:1: in main chunk.
> MT at ifstreq ...{microtype.if_str_eq([[#1]],[[#2]])}
>                                                   endcsname
> l.105    }

Apparently, it's not possible to dump lua code into the format.
It might work if you add

\directlua{require("microtype")}

to your document.

Best,
-- 
  Robert


More information about the lualatex-dev mailing list