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] How to embed formatting commands into the syntax highlight code generated by scite module?

2016-04-13 Thread 李延瑞
2016-04-12 10:24 GMT+08:00 Aditya Mahajan : > > > i want to embed some formatting commands into code highlighted with > scite or vim module, but i do not find its option like "escape=yes". Is > there a way to do it? > > > > With the vim module, `escape=yes` should work in

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] contextjit missing from win32

2016-04-13 Thread Pablo Rodriguez
On 04/13/2016 08:32 PM, Mojca Miklavec wrote: > On 13 April 2016 at 20:01, Pablo Rodriguez wrote: >> Hans, >> >> I downloaded the latest beta from the ConTeXt Suite yesterday for win32 >> and win64. >> >> I’m afraid that contextjit isn’t available for win32. I guess it might >> be a bug. > >

Re: [NTG-context] contextjit missing from win32

2016-04-13 Thread Mojca Miklavec
On 13 April 2016 at 20:01, Pablo Rodriguez wrote: > Hans, > > I downloaded the latest beta from the ConTeXt Suite yesterday for win32 > and win64. > > I’m afraid that contextjit isn’t available for win32. I guess it might > be a bug. Should contextjit come with ConTeXt or with W32TeX? Mojca

[NTG-context] contextjit missing from win32

2016-04-13 Thread Pablo Rodriguez
Hans, I downloaded the latest beta from the ConTeXt Suite yesterday for win32 and win64. I’m afraid that contextjit isn’t available for win32. I guess it might be a bug. Many thanks for your help, Pablo -- http://www.ousia.tk

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] Move textrule closer to head

2016-04-13 Thread Tom Harrop
On 13/04/16 18:47, Pablo Rodriguez wrote: Hi Tom, how about another rule? (From http://wiki.contextgarden.net/Titles#Titling_Style.) \setuphead[subsubsection] [after=\hrule\blank] I hope it helps, Pablo Ahh, it's perfect. I missed that page of the wiki! Thank you.

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] RTL section heads

2016-04-13 Thread Mohammad Hossein Bateni
Thanks, Hans! The update worked (current version: 2016.04.13 16:46) and the RTL problem seems gone. On Wed, Apr 13, 2016 at 12:41 PM, Pablo Rodriguez wrote: > On 04/13/2016 05:14 PM, Mohammad Hossein Bateni wrote: > > I updated my context standalone but it gives me current

Re: [NTG-context] Move textrule closer to head

2016-04-13 Thread Pablo Rodriguez
On 04/13/2016 06:10 PM, Tom Harrop wrote: > Hello, > > I'm a ConTeXt beginner. I'm working on a document where I would like a > textrule under my subsubsection headings. If I use after=\textrule, the > placement of the textrule is too far from the heading, and I haven't > found a way to move

Re: [NTG-context] RTL section heads

2016-04-13 Thread Pablo Rodriguez
On 04/13/2016 05:14 PM, Mohammad Hossein Bateni wrote: > I updated my context standalone but it gives me current version: > 2016.*_04.10_* 23:52, which is buggy. This is from 3 days ago. The server is experiencing some issues (https://mailman.ntg.nl/pipermail/ntg-context/2016/084979.html).

[NTG-context] Move textrule closer to head

2016-04-13 Thread Tom Harrop
Hello, I'm a ConTeXt beginner. I'm working on a document where I would like a textrule under my subsubsection headings. If I use after=\textrule, the placement of the textrule is too far from the heading, and I haven't found a way to move it closer to the heading either with \setuphead or

Re: [NTG-context] xml input

2016-04-13 Thread Meer, Hans van der
Just a thought. \xmlprocessbuffer and \xmlprocessfile{id}... register the tree they read under id. Is there a way to merge several id's to one tree? Hans van der Meer On 13 Apr 2016, at 16:21, Meer, Hans van der > wrote: I would like to process

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

Re: [NTG-context] RTL section heads

2016-04-13 Thread Mohammad Hossein Bateni
I updated my context standalone but it gives me current version: 2016. *04.10* 23:52, which is buggy. This is from 3 days ago. On Wed, Apr 13, 2016 at 10:56 AM, Hans Hagen wrote: > On 4/13/2016 4:59 AM, Mohammad Hossein Bateni wrote: > >> As far as I remember, it was working

Re: [NTG-context] RTL section heads

2016-04-13 Thread Hans Hagen
On 4/13/2016 4:59 AM, Mohammad Hossein Bateni wrote: As far as I remember, it was working fine with betas in December 2015 and January 2016. i uploaded a new beta - Hans Hagen | PRAGMA

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

[NTG-context] xml input

2016-04-13 Thread Meer, Hans van der
I would like to process several input sources as one xml tree. Like this: with the sources having the structure ... ... and the code for containing: read from all sources given on -notes afterwards process all content at once Thus the content of the various source should be read into

Re: [NTG-context] Help with t-vim module and math

2016-04-13 Thread Nicola
On 2016-04-13 13:33:27 +, Wolfgang Schuster said: Nicola 13. April 2016 um 15:28 On 2016-04-13 12:47:56 +, Wolfgang Schuster said: Nicola 13. April 2016 um 14:17 On 2016-04-13 11:53:51 +, Hans Hagen said: Thanks, that works. Unfortunately, DejaVu Sans Mono looks too heavy in

Re: [NTG-context] Help with t-vim module and math

2016-04-13 Thread Wolfgang Schuster
Nicola 13. April 2016 um 15:28 On 2016-04-13 12:47:56 +, Wolfgang Schuster said: Nicola 13. April 2016 um 14:17 On 2016-04-13 11:53:51 +, Hans Hagen said: Thanks, that works. Unfortunately, DejaVu Sans Mono looks too

Re: [NTG-context] Help with t-vim module and math

2016-04-13 Thread Nicola
On 2016-04-13 12:47:56 +, Wolfgang Schuster said: Nicola 13. April 2016 um 14:17 On 2016-04-13 11:53:51 +, Hans Hagen said: Thanks, that works. Unfortunately, DejaVu Sans Mono looks too heavy in my document: is there a light variant? Also, can't the fallback mechanism be used?

Re: [NTG-context] Help with t-vim module and math

2016-04-13 Thread Wolfgang Schuster
Nicola 13. April 2016 um 14:17 On 2016-04-13 11:53:51 +, Hans Hagen said: Thanks, that works. Unfortunately, DejaVu Sans Mono looks too heavy in my document: is there a light variant? Also, can't the fallback mechanism be used? Yes it can but you have to

Re: [NTG-context] Help with t-vim module and math

2016-04-13 Thread Nicola
On 2016-04-13 11:53:51 +, Hans Hagen said: On 4/13/2016 11:19 AM, Nicola wrote: Hi, I am using the Vim module to typeset code, and I've found a situation where I'd like to use some math symbols, but not in comments. I am not sure whether it can be done. This is what I have tried:

Re: [NTG-context] Help with t-vim module and math

2016-04-13 Thread Hans Hagen
On 4/13/2016 11:19 AM, Nicola wrote: Hi, I am using the Vim module to typeset code, and I've found a situation where I'd like to use some math symbols, but not in comments. I am not sure whether it can be done. This is what I have tried: \usemodule[vim] \definefontfamily

[NTG-context] Help with t-vim module and math

2016-04-13 Thread Nicola
Hi, I am using the Vim module to typeset code, and I've found a situation where I'd like to use some math symbols, but not in comments. I am not sure whether it can be done. This is what I have tried: \usemodule[vim] \definefontfamily[slidesfont][mono][Latin Modern Mono Light]

Re: [NTG-context] RTL section heads

2016-04-13 Thread Hans Hagen
On 4/13/2016 4:15 AM, Otared Kavian wrote: Hi Hans and Mohammad Reza, I can confirm that the wrong behaviour of numbers and digits in Right to Left (more specifically Persian) is recent: indeed with ConTeXt ver: 2015.05.18 12:26 MKIV current fmt: 2015.6.18 int: english/english