[tex-live] Location of recorder file
st_philipp at yahoo.de
Sat May 7 14:23:36 CEST 2011
Am 07.05.2011 um 09:27 schrieb Philipp Stephani:
> 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.
Sorry, I missed the fact that the bug occurs only in Ini mode. Reported as http://tracker.luatex.org/view.php?id=626. I've also updated the test script to include test for Ini mode. New location at https://github.com/phst/tex-tools/blob/master/test-output-dir.sh
More information about the tex-live