[luatex] Using the plain format fails

Marco Patzer homerow at lavabit.com
Tue Feb 12 11:38:15 CET 2013


Hi,

with plainTeX I get the follwing error:

This is LuaTeX, Version beta-0.74.0-2012122510 (rev 4541)
 \write18 enabled.
(./t.tex
(/home/marco/usr/local/share/context-beta/tex/texmf-context/tex/generic/context
/luatex/luatex-basics.tex)
(/home/marco/usr/local/share/context-beta/tex/texmf-context/tex/generic/context
/luatex/luatex-fonts.tex <push namespace> </home/marco/usr/local/share/context-
beta/tex/texmf-context/tex/generic/context/luatex/luatex-fonts-merged.lua>
! LuaTeX error ...ntext/tex/generic/context/luatex/luatex-fonts-merged.lua:21:
attempt to call global 'setinspector' (a nil value)
stack traceback:
	...ntext/tex/generic/context/luatex/luatex-fonts-merged.lua:21: in main chunk
	[C]: in function 'dofile'
	...exmf-context/tex/generic/context/luatex/luatex-fonts.lua:103: in function '
loadmodule'
	...exmf-context/tex/generic/context/luatex/luatex-fonts.lua:107: in main chunk

	[C]: in function 'dofile'

Building the format succeeds. Steps to reproduce:

%% file: luatex-plain.tex
\input plain
\directlua {tex.enableprimitives('', tex.extraprimitives())}
\pdfoutput=1
\everyjob \expandafter {%
    \the\everyjob
    \input luatex-basics\relax
    \input luatex-fonts\relax
    \input luatex-mplib\relax
}
\edef\fmtversion{\fmtversion+luatex}
\dump

$ luatex --ini luatex-plain.tex

%% file test.tex
FooBar
\bye

$ luatex --fmt=luatex-plain.fmt test.tex

It compiles if the line

    \input luatex-fonts\relax

is commented out.

Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://tug.org/pipermail/luatex/attachments/20130212/f34da764/attachment.bin>


More information about the luatex mailing list