[Dev-luatex] \jobname with spaces

David Kastrup dak at gnu.org
Wed Apr 29 17:03:30 CEST 2009

Manuel Pégourié-Gonnard <mpg at elzevir.fr> writes:

> Hans Hagen a écrit :
>>> \input\jobname.myextention...
>> well, in luatex that's ok then
> Hum, unless I'm mistaken that's not ok because while compiling 'foo bar.tex',
> you get
> \input foo bar.tex
> which is likely to complain about a missing foo.tex file.

One somewhat perverse solution would be to have \jobname return catcode
12 tokens only (including the space) and let only catcode 10 spaces
finish a file name.

Probably a bit obscure, but it would appear to do the trick to me.

David Kastrup

More information about the dev-luatex mailing list