On Fri, Aug 28, 2009 at 1:05 AM, Hans Hagen<[email protected]> wrote:
> luigi scarso wrote:
>>
>> On Thu, Aug 27, 2009 at 11:42 PM, Hans Hagen<[email protected]> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to