ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lua error when --synctex is used
@ 2017-07-13 21:40 Ulrike Fischer
  2017-07-13 22:32 ` Henri Menke
  2017-07-14  8:28 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Ulrike Fischer @ 2017-07-13 21:40 UTC (permalink / raw)
  To: ntg-context

When I run a minimal context file with the -synctex-switch

context --synctex context-test.tex

then I get a lua error:

lua error       > lua error on line 1 in file
C:/Users/XXX/Documents/tests/contexttext/context-test.tex:

...ext/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:490:
attempt to call upvalue 'collect' (a nil value)
stack traceback:
	...ext/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:490: in
function 'luatex_synctex_collect'
	[string "local nodes_references_handler = nodes.refere..."]:14: in
function <[string "local nodes_references_handler =
nodes.refere..."]:7>
	(...tail calls...)

1 >>  \starttext
2     context text
3     \stoptext


Without the synctex switch there is no problem.


 
-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___________________________________________________________________________________
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] 5+ messages in thread

* Re: lua error when --synctex is used
  2017-07-13 21:40 lua error when --synctex is used Ulrike Fischer
@ 2017-07-13 22:32 ` Henri Menke
  2017-07-13 22:55   ` Ulrike Fischer
  2017-07-14  8:28 ` Hans Hagen
  1 sibling, 1 reply; 5+ messages in thread
From: Henri Menke @ 2017-07-13 22:32 UTC (permalink / raw)
  To: ntg-context

On Thu, 2017-07-13 at 23:40 +0200, Ulrike Fischer wrote:
> When I run a minimal context file with the -synctex-switch
> 
> context --synctex context-test.tex
> 
> then I get a lua error:

See https://mailman.ntg.nl/pipermail/ntg-context/2017/089121.html

> 
> lua error       > lua error on line 1 in file
> C:/Users/XXX/Documents/tests/contexttext/context-test.tex:
> 
> ...ext/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:490:
> attempt to call upvalue 'collect' (a nil value)
> stack traceback:
> 	...ext/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:490: in
> function 'luatex_synctex_collect'
> 	[string "local nodes_references_handler = nodes.refere..."]:14: in
> function <[string "local nodes_references_handler =
> nodes.refere..."]:7>
> 	(...tail calls...)
> 
> 1 >>  \starttext
> 2     context text
> 3     \stoptext
> 
> 
> Without the synctex switch there is no problem.
> 
> 
>  
___________________________________________________________________________________
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] 5+ messages in thread

* Re: lua error when --synctex is used
  2017-07-13 22:32 ` Henri Menke
@ 2017-07-13 22:55   ` Ulrike Fischer
  2017-07-13 23:02     ` Henri Menke
  0 siblings, 1 reply; 5+ messages in thread
From: Ulrike Fischer @ 2017-07-13 22:55 UTC (permalink / raw)
  To: ntg-context

Am Fri, 14 Jul 2017 10:32:44 +1200 schrieb Henri Menke:

>> When I run a minimal context file with the -synctex-switch
>> 
>> context --synctex context-test.tex
>> 
>> then I get a lua error:
> 
> See https://mailman.ntg.nl/pipermail/ntg-context/2017/089121.html

Ah. Thanks I hadn't seen this (or already forgotten). Well if this
error stays then it probably means that I should inform the winedt
author that the switch should be better removed from the scripts
starting context. 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___________________________________________________________________________________
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] 5+ messages in thread

* Re: lua error when --synctex is used
  2017-07-13 22:55   ` Ulrike Fischer
@ 2017-07-13 23:02     ` Henri Menke
  0 siblings, 0 replies; 5+ messages in thread
From: Henri Menke @ 2017-07-13 23:02 UTC (permalink / raw)
  To: ntg-context

On Fri, 2017-07-14 at 00:55 +0200, Ulrike Fischer wrote:
> Am Fri, 14 Jul 2017 10:32:44 +1200 schrieb Henri Menke:
> 
> > 
> > > 
> > > When I run a minimal context file with the -synctex-switch
> > > 
> > > context --synctex context-test.tex
> > > 
> > > then I get a lua error:
> > See https://mailman.ntg.nl/pipermail/ntg-context/2017/089121.html
> Ah. Thanks I hadn't seen this (or already forgotten). Well if this
> error stays then it probably means that I should inform the winedt
> author that the switch should be better removed from the scripts
> starting context. 

Hans' answer was inconclusive.

> i'll have to upload a new beta ...

I don't know whether that means he'll fix it or he'll remove it.

> 
> 
___________________________________________________________________________________
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] 5+ messages in thread

* Re: lua error when --synctex is used
  2017-07-13 21:40 lua error when --synctex is used Ulrike Fischer
  2017-07-13 22:32 ` Henri Menke
@ 2017-07-14  8:28 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2017-07-14  8:28 UTC (permalink / raw)
  To: ntg-context

On 7/13/2017 11:40 PM, Ulrike Fischer wrote:
> When I run a minimal context file with the -synctex-switch
> 
> context --synctex context-test.tex
> 
> then I get a lua error:
> 
> lua error       > lua error on line 1 in file
> C:/Users/XXX/Documents/tests/contexttext/context-test.tex:
> 
> ...ext/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:490:
> attempt to call upvalue 'collect' (a nil value)
> stack traceback:
> 	...ext/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:490: in
> function 'luatex_synctex_collect'
> 	[string "local nodes_references_handler = nodes.refere..."]:14: in
> function <[string "local nodes_references_handler =
> nodes.refere..."]:7>
> 	(...tail calls...)
> 
> 1 >>  \starttext
> 2     context text
> 3     \stoptext
> 
> 
> Without the synctex switch there is no problem.
wil be fixed in next beta (no upload yet as i'm playing with some font 
code)


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2017-07-14  8:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-13 21:40 lua error when --synctex is used Ulrike Fischer
2017-07-13 22:32 ` Henri Menke
2017-07-13 22:55   ` Ulrike Fischer
2017-07-13 23:02     ` Henri Menke
2017-07-14  8:28 ` Hans Hagen

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).