[tex-live] Location of recorder file

Philipp Stephani st_philipp at yahoo.de
Sat May 7 09:27:49 CEST 2011

Am 07.05.2011 um 03:01 schrieb Karl Berry:

>    LuaTeX calls recorder_change_filename only once, with \jobname + .fls,
>    so I don't think other changes are necessary.
> No, there is still a bug.  Here is the case that fails, at least with
> the current luatex sources in TL:
> $ mkdir tex
> $ echo 'hello\end' >tex/hello.tex
> $ $workdir/luatex -ini -recorder -output-directory=/tmp tex/hello.tex 
> This is LuaTeX, Version beta-0.70.0-2011050519 (rev 4247)  (INITEX)
> /home/texlive/karl/Build/source/Work/texk/web2c/luatex: /tmp/tex/hello.tex12112.fls: No such file or directory
> That is, given a relative path for the input file, it appends the
> directory part of the input path to the -output-directory.  It shouldn't
> do that.  (The other engines all work ok, just using the basename.)
> I have no idea any more about what code has been applied where, but some
> fix is presumably needed.

Thanks for the investigation. The bug doesn't seem to occur in LuaTeX rev 4245, but since it's an important situation, I've modified the test script to use relative file names as well. This should be more general since input, output, and working directory are now all different.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-output-dir.sh
Type: application/octet-stream
Size: 4769 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20110507/1ac4e0f3/attachment.obj>

More information about the tex-live mailing list