Scite module and escape does not work anymore
![](https://secure.gravatar.com/avatar/13bc5842f0b785acdb8f02c38b78439d.jpg?s=120&d=mm&r=g)
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. Cheers, Christoph
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
participants (2)
-
Christoph Reller
-
Hans Hagen