On Fri, Aug 28, 2009 at 1:05 AM, Hans Hagen
luigi scarso wrote:
On Thu, Aug 27, 2009 at 11:42 PM, Hans Hagen
wrote: luigi scarso wrote:
$> context --ctx=x-ldx x-ldx.lua fails in minimals/tex/texmf-context/scripts/context/lua
hm, runs ok here (on the base path)
Also with beta
...tex/minimals-2009-08-beta/tex/texmf-linux/bin/mtxrun:123: bad argument #1 to 'find' (string expected, got function) This is LuaTeX, Version beta-0.43.0-2009081914 \write18 enabled. (x-ldx.run
ConTeXt ver: 2009.08.26 01:43 MKIV fmt: 2009.8.28 int: english/english
Anyway line 123 of mtxrun looks strange : function string:is_empty() return not find(find,"%S") end
How does it look in your installation ?
%s == space %S == non-space
I think that ...tex/minimals-2009-08-beta/tex/texmf-linux/bin/mtxrun:123: bad argument #1 to 'find' (string expected, got function) refers to return not find(find,"%S") in function string:is_empty() return not find(find,"%S") end The #1 argument of find(find,"%S") is find , which is a function, while should be a string, ie maybe something like function string:is_empty() return not find(self,"%S") end -- luigi