[luatex] Plain TeX is not working

Yue Wang yuleopen at gmail.com
Sat May 9 12:24:28 CEST 2009


On Sat, May 9, 2009 at 3:24 PM, Taco Hoekwater <taco at elvenkind.com> wrote:
> Yue Wang wrote:
>>
>> Hi, Hans:
>>
>> I am using the ConTeXt minimal distribution to run plain TeX.
>> The ini file is exactly same as your luatex-plain.tex.
>> However, I run into this problem:
>>
>> This is LuaTeX, Version beta-0.40.0-2009042221 (Web2C 7.5.7)
>>  \write18 enabled.
>> (test.tex
>> (c:/context/tex/texmf-context/tex/generic/context/luatex-basics.tex)
>> (c:/context/tex/texmf-context/tex/generic/context/luatex-fonts.tex
>> <luatex-fonts-merged.lua> <luatex-fonts.lua loaded in 0.047 seconds>)
>> (c:/context/tex/texmf-context/tex/generic/context/luatex-mplib.tex)
>> ! LuaTeX error
>> ...-context/tex/generic/context/luatex-fonts-merged.lua:5124:
>> attempt to index global 'caches' (a nil value).
>> <to be read again>
>>                   \testa
>> l.1 ...n10-regular                  at 12pt \testa
>>                                                   \input tufte \par
>> ?
>>
>> My test file is attached here:
>> \font\testa=file:lmroman10-regular                  at 12pt \testa
>
> As far as I know, luatex-fonts only supports xetex-style font names.

The test line I use is eactly the same as hans' luatex-test.tex

>
> Have you tried
>
>  \font\testa="[lmroman10-regular]"
>
>
Yes, also
This is LuaTeX, Version beta-0.40.0-2009042221 (Web2C 7.5.7)
 \write18 enabled.
(untitled-2.tex
(c:/context/tex/texmf-context/tex/generic/context/luatex-basics.tex)
(c:/context/tex/texmf-context/tex/generic/context/luatex-fonts.tex
<luatex-fonts-merged.lua> <luatex-fonts.lua loaded in 0.063 seconds>)
(c:/context/tex/texmf-context/tex/generic/context/luatex-mplib.tex)
! LuaTeX error ...-context/tex/generic/context/luatex-fonts-merged.lua:5124:
attempt to index global 'caches' (a nil value).
<to be read again>
                   \testa
l.1 ..."[lmroman10-regular]"        at 12pt \testa

?

>
> Best wishes,
> Taco
>


More information about the luatex mailing list