# [Dev-luatex] Start LuaTeX with Lua only?

taco taco at elvenkind.com
Sat May 2 17:11:08 CEST 2009

David Kastrup wrote:
> Hans Hagen <pragma at wxs.nl> writes:
>
>> David Kastrup wrote:
>>> Ok, this is actually kind of stupid since Taco and Hans are sitting
>>> right before me, but we are in the middle of a talk.
>>>
>>> Is there a way to start LuaTeX with just a Lua file, but have this Lua
>>> file feed TeX input to a TeX process, via tex.print or similar?
>>>
>>> Or do we always need to have a TeX file which does some \directlua call
>>> before we can have Lua feeding TeX input to a TeX interpreter?
>> texlua oeps.lua
>>
>> luatex --luaonly  oeps.lua
>>
>> luatex oeps.lua
>
> Sure, but that's Lua only.  I don't have a TeX process I can feed with
> tex.print then, or am I overlooking something here?
>

No, you are right.