Hello, > [setting \directlua's chunk name] > > This allows you to do stuff like this: > > \directlua name {\jobname-\the\inputlineno} 0 {error('test')} Great! Thanks! I'll try it this evening (your example is especially intriguing). > Best wishes, > Taco Jonathan