[Dev-luatex] platform specific functionality

T T t34www at googlemail.com
Mon Mar 15 01:06:06 CET 2010

On 12 March 2010 09:59, Taco Hoekwater <taco at elvenkind.com> wrote:
> Taco Hoekwater wrote:
>> T T wrote:
>>> followed. This short/long file naming duality is a legacy of an ugly
>>> hack MS once pulled, and it is unlikely to ever disappear, I'm afraid.
>> Tracker item added:
>>  http://tracker.luatex.org/view.php?id=338
> This is now in TRUNK, please test. (I verified it works under wine)

On 12 March 2010 12:45, Taco Hoekwater <taco at elvenkind.com> wrote:
> Taco Hoekwater wrote:
>> Tracker item:
>>  http://tracker.luatex.org/view.php?id=339
> New functionality in TRUNK:
> \subsection{\luatex{lookup}}
> A more powerful (but slower) generic method for finding files is also
> available (since 0.51).

Thanks. Tried both of these and haven't noticed any problems.

I had some problems building on msys/mingw - the condition in

if ([ -x `which svnversion` ] && [ -d ./.svn ])

evaluated always true even though I had no svnversion command in the
path. I changed it to:

if ( [ -d ./.svn ] && svnversion > /dev/null )

I would also suggest to remove the 'svn up' from the script. While
working on/testing local changes you do not necessarily want to keep
the working copy in sync with the head. And perhaps
luatex_svnversion.h cloud be created/updated only when the revision
number actually changes rather than every time (i.e. read the old
revision from luatex_svnversion.h and compare it with `svnversion
-c`), but my shell script-fu is not good enough to send you a patch
for this.



More information about the dev-luatex mailing list