[lltx] [luatex] Job name (was: Location of recorder file)

Taco Hoekwater taco at elvenkind.com
Fri May 13 17:23:55 CEST 2011

On 13 mei 2011, at 16:30, Philipp Stephani <st_philipp at yahoo.de> wrote:

> Yes but this difference it the important one: "tex \edef\foo{\jobname} \input test" has never worked, and nobody expects it to work in LuaTeX; on the other hand, "latex \input test" has always worked, and everybody expects it to work with LuaTeX, too.

I fully intend to remove this Cmdline-is-first-input-line feature from metapost 2 (because it is extremely annoying to deal with with the new lib + driver architecture of mp: I now have to make the executable driver parse the commandline using string matching).

Because of this, it makes perfect sense for me to do the same to luatex 1.0. In fact, if I *ever* want to get rid of it, it has to be done before 1.0. Iirc, even the texbook says something along the lines of 'you are lucky if it works'. The argument to keep it seems to be that even though it is  a truly weird idea, it has been in use for a long time, so it should be kept forever. To me, that is far from convincing.

Best wishes,

Taco