[luatex] lualatex not setting filename as jobname when using \input in command line

taco taco at elvenkind.com
Wed Aug 11 20:18:19 CEST 2010


Manuel Pégourié-Gonnard wrote:
> Le 11/08/2010 18:00, Taco Hoekwater a écrit :
>> On 08/11/2010 05:22 PM, Simon Peter Nicholls wrote:
>>> Is there a known issue where lualatex fails to set the jobname as the
>>> filename when "\input" is specified on the command line?
>> That problem does not happen for me with an older lualatex.ini,
>> but it does happen with the one from texlive (the newest I have).
>>
>> But I do not know how this is possible (yet).
>>
> I'm afraid I do. The new lualatex.ini tries to fix an issue with \jobname
> containing spaces, checking \jobname (and possibly redefining it) at \everyjob time.
> 
> Apparently, looking at the value of \jobname forces luatex to set \jobname
> immediately while it would normally wait for the first \input to do so.
> I'm really really sorry for forgetting to test this case.

Well, I think this is a fairly minor issue. But then, I believe it was
a mistake of Knuth (and later web2c) to allow actual TeX code on the
command line at all.

Best wishes,
Taco


More information about the luatex mailing list