[tex-live] ps2pdf w/o arguments crashes (win32)

Gregor Zimmermann gregor.zimmermann at physik.uni-leipzig.de
Sun Oct 11 17:59:31 CEST 2009

Hi all,

calling ps2pdf without arguments crashes (under WinXP SP3) with the
following error:

> C:\>ps2pdf
> ...e/texlive/2009/texmf/scripts/tlgs/gswin32/ps2pdf.tlu:97: attempt to concatena
> te global 'outfile' (a nil value)

I guess, that placing the block

> if #files < 1 or #files > 2 then
>    io.stderr:write('Usage: ps2pdf [options] (input.[e]ps|-) [output.pdf]\n')
>    os.exit(0) 
> end

earlier in 'ps2pdf.tlu' may help, but it's the first lua file I ever
looked into...


More information about the tex-live mailing list