[tex-live] synctex busy file | luatex patches

Philipp Stephani st_philipp at YAHOO.DE
Mon May 9 16:35:30 CEST 2011

Am 09.05.2011 um 15:47 schrieb Peter Breitenlohner:

> On Mon, 9 May 2011, Philipp Stephani wrote:
>> The advertised buffer size is two times the actual size! Patch is
>> attached.  With that fixed, I have no output directory-related errors any
>> more with LuaTeX (still 45 failures for the other engines) ?  great work!
> Hi Philipp,
> can you elaborate: failures triggered by what conditions (and maybe which
> luaTeX modification fixe this).

Maybe some of them are already fixed. I've discussed this on the TeX Live list: http://tug.org/pipermail/tex-live/2011-May/028957.html
The updated version of the test script is now at https://github.com/phst/tex-tools/blob/master/test-output-dir.sh
Basically this tests whether various files such as recorder and SyncTeX files are present and contain usable information. The corresponding LuaTeX bugs are http://tracker.luatex.org/view.php?id=519, http://tracker.luatex.org/view.php?id=534, http://tracker.luatex.org/view.php?id=597, http://tracker.luatex.org/view.php?id=615 and http://tracker.luatex.org/view.php?id=626. Analogous errors are present in the TeX Live 2010 versions of all other engines. My scripts has current, input and output directory all different, and current and input directory unwritable. This detects when an attempt is made to write to the current directory or if the path name manipulation is wrong (e.g. there was one case where a write to the non-existing outputdir/inputdir/ directory was attempted: http://tug.org/pipermail/tex-live/2011-May/028996.html).

> BTW: could you try to send patches and similar attachments as something like
> text/plain, instead of application/octet-stream.  That would certainly
> simplify things for me (using pine) and maybe also for others.

Sorry for that, will try, but Apple Mail is rubbish in this respect (it only accepts *.txt files as text).

> What is the best way to always use ld with the option '-search_paths_first'
> for darwin?  Just add '-Wl,-search_paths_first' to LDFLAGS?

I think so. Unlike many other linker flags, gcc doesn't accept this one directly.

More information about the tex-live mailing list