
Hi, I run into the following error with the new version: 'luatools --generate' results in Error in lua file loading: r:\tex\texmf-mswin\bin\luatools.lua:1402: attempt to call field 'gettimeofday' (a nil value) There seems to be no 'os.gettimeofday' under Windows XP. This patch of luatools.lua works here (better check twice) :D if os.gettimeofday then os.clock = os.gettimeofday local startuptime = os.gettimeofday() function os.runtime() return os.gettimeofday() - startuptime end end -- if os.gettimeofday then -- os.clock = os.gettimeofday -- end -- do -- local startuptime = os.gettimeofday() -- function os.runtime() -- return os.gettimeofday() - startuptime -- end -- end Best wishes, Peter

Arthur Reutenauer wrote:
Can you (or someone else) figure out what the C preprocessor defines are for "post-SunOs Solaris"? If that is clear, I can use that. Either that or a volunteer that wants to work on an autofoo patch for me would make this work on almost all modern machines. Best wishes, Taco

Taco Hoekwater schrieb:
Yes, I already had a batch sript for this, but the latest mswin binaries contains a texlua.exe. I didn't check, so it's my own fault. Still there is no such solution for texluac.exe. I run ConTeXt in a RAM disk, so I don't like the idea of wasting any space. Time to learn some more luatex. :) Thanks to all of you for the help! Peter

Akira Kakuto distributes "luatex.dll" in his W32TeX distribution, and links all three binaries to them. But it should also be possible to write a simple batch file like texlua.bat calling "luatex --luaonly"; and that way you don't have to remember to copy all three binaries each time (which is equivalent to linking on Unix, and replacing only the LuaTeX binary). I wonder if anyone has already done that? Arthur

Peter Rolf wrote:
their size is nothing compared to font files -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (5)
-
Arthur Reutenauer
-
Hans Hagen
-
Mojca Miklavec
-
Peter Rolf
-
Taco Hoekwater