Re: [NTG-context] Questions about Scite lexers

2016-04-14 Thread Nicola
On 2016-04-14 05:10:18 +, Christoph Reller said: On Wed, Apr 13, 2016 at 10:39 PM Christoph Reller wrote: Nicola wrote on Wed., 13. Apr. 2016 19:36: I have found an old document of mine, which uses a (slightly customized) pret-c.lua,

Re: [NTG-context] Questions about Scite lexers

2016-04-13 Thread Christoph Reller
On Wed, Apr 13, 2016 at 10:39 PM Christoph Reller < christoph.rel...@gmail.com> wrote: > Nicola wrote on Wed., 13. Apr. 2016 19:36: > >> >> I have found an old document of mine, which uses a >> (slightly customized) pret-c.lua, located inside the project's folder. >> It

Re: [NTG-context] Questions about Scite lexers

2016-04-13 Thread Christoph Reller
Nicola wrote on Wed., 13. Apr. 2016 19:36: > > I have found an old document of mine, which uses a > (slightly customized) pret-c.lua, located inside the project's folder. > It compiles, but I don't get syntax highlighting. Is it because pret-c > is not searched in the

Re: [NTG-context] Questions about Scite lexers

2016-04-13 Thread Alan BRASLAU
On Wed, 13 Apr 2016 17:39:57 +0200 Hans Hagen wrote: > > 5) May I rely on this feature to be stable? > > yes (i use it myself) The following is slightly off-topic of the present thread... Hans, we finally understood while at the ConTeXt conference at Nasbinals that your

Re: [NTG-context] Questions about Scite lexers

2016-04-13 Thread Wolfgang Schuster
Nicola 13. April 2016 um 19:25 Thanks for your answers. I'd like to go with \definetyping then, because I need /BTEX../ETEX. I have found an old document of mine, which uses a (slightly customized) pret-c.lua, located inside the project's folder. It compiles, but

Re: [NTG-context] Questions about Scite lexers

2016-04-13 Thread Nicola
On 2016-04-13 15:39:57 +, Hans Hagen said: 6) It is my understanding that pret-xxx.lua files are obsolete. Is it correct? (If so, it would be nice to update the wiki to reflect that). no, they are not obsolete (the scite lexers are often also syntax checkers so they are more strict) ...

Re: [NTG-context] Questions about Scite lexers

2016-04-13 Thread Hans Hagen
On 4/13/2016 4:37 PM, Nicola wrote: I'm trying to define a custom scite lexer for a toy language I'm using. So far, I've copied a lexer from the distribution, changed its name and keywords, and it's all fine. I have a few questions, though: 1) my custom scite-context-lexer-.lua is found

[NTG-context] Questions about Scite lexers

2016-04-13 Thread Nicola
I'm trying to define a custom scite lexer for a toy language I'm using. So far, I've copied a lexer from the distribution, changed its name and keywords, and it's all fine. I have a few questions, though: 1) my custom scite-context-lexer-.lua is found only if I put it in the distribution.