* Attempt to call a nil value
@ 2018-09-08 16:00 Lars
2018-09-08 16:42 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Lars @ 2018-09-08 16:00 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 539 bytes --]
Hello list,
since one of the last beta updates (now I have 2018.09.01) I can't use
ConTeXt on my Win 10 32bit tablet anymore. I can't make PDFs because I
get an error message. In fact, with CTX in my system path of course,
even when I type the following into my command prompt, I get the same error:
mtxrun --script context
./context.lua:11: attempt to call a nil value (method 'add_rule')
This could have to do with the last adaption to Textadept 10. On my Win
10 x64 PC there is no problem. Any clues?
Cheers and thanks, Lars.
[-- Attachment #1.2: Type: text/html, Size: 879 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Attempt to call a nil value
2018-09-08 16:00 Attempt to call a nil value Lars
@ 2018-09-08 16:42 ` Wolfgang Schuster
2018-09-08 19:06 ` Lars
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2018-09-08 16:42 UTC (permalink / raw)
To: mailing list for ConTeXt users, Lars
[-- Attachment #1.1: Type: text/plain, Size: 1438 bytes --]
mtxrun loads the wrong lua file, while it should load mtx-context.lua it
actually uses context.lua.
Since there is no context.lua in the distribution I guess context.lua is
one of your files you put in the text directory, remove this file (or
put it in a different folder) and ConTeXt should work again.
Wolfgang
Lars schrieb am 08.09.18 um 18:00:
>
> Hello list,
>
> since one of the last beta updates (now I have 2018.09.01) I can't use
> ConTeXt on my Win 10 32bit tablet anymore. I can't make PDFs because I
> get an error message. In fact, with CTX in my system path of course,
> even when I type the following into my command prompt, I get the same
> error:
>
> mtxrun --script context
>
> ./context.lua:11: attempt to call a nil value (method 'add_rule')
>
> This could have to do with the last adaption to Textadept 10. On my
> Win 10 x64 PC there is no problem. Any clues?
>
> Cheers and thanks, Lars.
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 2526 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Attempt to call a nil value
2018-09-08 16:42 ` Wolfgang Schuster
@ 2018-09-08 19:06 ` Lars
0 siblings, 0 replies; 3+ messages in thread
From: Lars @ 2018-09-08 19:06 UTC (permalink / raw)
To: Wolfgang Schuster, mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2190 bytes --]
Thank you very much Wolfgang. You were a big help, as usual. It never
came to my mind, that the Textadept lexer file /context.lua/ in my
working directory could interfere with /mtxmrun/, which is located
elsewhere. I should also have tried to process files from another
directory instead of trying it from another PC. But since on my tablet
PC I only have one single TeX directory, it didn't come to my mind to
try another one. So again, thank you.
Cheers, Lars.
P. S.: From what I read so far you're a real TeX genius. It's always a
pleasure to write with you.
P. P. S.: Some people really should learn from you, not only when it
comes to TeX.
Am 08/09/2018 um 18:42 schrieb Wolfgang Schuster:
> mtxrun loads the wrong lua file, while it should load mtx-context.lua
> it actually uses context.lua.
>
> Since there is no context.lua in the distribution I guess context.lua
> is one of your files you put in the text directory, remove this file
> (or put it in a different folder) and ConTeXt should work again.
>
> Wolfgang
>
>
> Lars schrieb am 08.09.18 um 18:00:
>>
>> Hello list,
>>
>> since one of the last beta updates (now I have 2018.09.01) I can't
>> use ConTeXt on my Win 10 32bit tablet anymore. I can't make PDFs
>> because I get an error message. In fact, with CTX in my system path
>> of course, even when I type the following into my command prompt, I
>> get the same error:
>>
>> mtxrun --script context
>>
>> ./context.lua:11: attempt to call a nil value (method 'add_rule')
>>
>> This could have to do with the last adaption to Textadept 10. On my
>> Win 10 x64 PC there is no problem. Any clues?
>>
>> Cheers and thanks, Lars.
>>
>>
>>
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>>
>> maillist :ntg-context@ntg.nl /http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage :http://www.pragma-ade.nl /http://context.aanhet.net
>> archive :https://bitbucket.org/phg/context-mirror/commits/
>> wiki :http://contextgarden.net
>> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 3903 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-09-08 19:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-08 16:00 Attempt to call a nil value Lars
2018-09-08 16:42 ` Wolfgang Schuster
2018-09-08 19:06 ` Lars
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).