>> when I call "luatex foo.lua" luatex goes into lua mode. Is that on purpose? >> >> Patrick > > Yes, see manual 3.1.1. embarrassing - I thought I had known _everything_ in the manual. Thanks! Patrick