On 8/29/2017 9:31 AM, Christoph Reller wrote:
Hi,

I noticed that the scite module (m-scite.mkiv) has undergone some changes recently. When using this module to highlight source code, then the escape mechanism does not seem to work anymore.

MWE:
\enabletrackers[buffers.visualize]
\usemodule[scite]
\setuptyping[TEX][escape={[[,]]}]
\starttext
\startTEX
\test[[\em test]]
\stopTEX
\stoptext

The reported error is:
[ctxlua]:221: attempt to index local 'specification' (a nil value)
stack traceback:
[ctxlua]:221: in function <[ctxlua]:220>
[C]: in function 'lpegmatch'
...ext/tex/texmf-context/tex/context/base/mkiv/buff-ver.lua:283: in function 'n' ...ext/tex/texmf-context/tex/context/base/mkiv/buff-ver.lua:511: in function 'visualize' ...ext/tex/texmf-context/tex/context/base/mkiv/buff-ver.lua:760: in function <...ext/tex/texmf-context/tex/context/base/mkiv/buff-ver.lua:752>
(...tail calls...)

Can this be fixed? Thank you in advance for your effort.
i'll intercept it (there are no escapes in scite mode)

Hans


-----------------------------------------------------------------
                                          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
___________________________________________________________________________________

Reply via email to