[NTG-context] syntax highlighting: pandoc uses Kate

2024-09-16 Thread Henning Hraban Ramm
Hi, since we recently discussed editor support and syntax highlighting: Pandoc can use definitions from Kate[1] for syntax highlighting in a code block via "--syntax-definition". There’s also ConTeXt support (MkIV/LMTX): https://kate-editor.org/syntax/data/syntax/context.xml Apparently, it c

[NTG-context] Syntax highlighting using LMTX

2021-12-15 Thread Christoph Reller via ntg-context
By the way: there exists a module which is capable of highlighting Java: https://modules.contextgarden.net/cgi-bin/module.cgi/ruid=12720986/action=view/id=82 Cheers, Christoph Henri Menke via ntg-context schrieb am Do., 2. Dez. 2021, 19:45: > On Thu, 2021-12-02 at 12:07 -0500, Aditya Mahajan vi

Re: [NTG-context] Syntax highlighting using LMTX

2021-12-02 Thread Henri Menke via ntg-context
On Thu, 2021-12-02 at 12:07 -0500, Aditya Mahajan via ntg-context wrote: > On Thu, 2 Dec 2021, Thangalin via ntg-context wrote: > > > Hi all, > > > > There are a few technical hurdles with using the t-vim module in > > LMTX. > > First, users need to install the module using externally defined > >

Re: [NTG-context] Syntax highlighting using LMTX

2021-12-02 Thread Aditya Mahajan via ntg-context
On Thu, 2 Dec 2021, Thangalin via ntg-context wrote: > Hi all, > > There are a few technical hurdles with using the t-vim module in LMTX. > First, users need to install the module using externally defined shell > scripts. Second, it's awkward to communicate to users how to install it, > especiall

[NTG-context] Syntax highlighting using LMTX

2021-12-02 Thread Thangalin via ntg-context
Hi all, There are a few technical hurdles with using the t-vim module in LMTX. First, users need to install the module using externally defined shell scripts. Second, it's awkward to communicate to users how to install it, especially for Windows users. Third, it likely requires installing vim, as

Re: [NTG-context] Syntax highlighting for C-code

2012-01-15 Thread Wolfgang Schuster
Am 13.01.2012 um 12:00 schrieb Richard Weickelt: > Hi, > > I've tried to include some C-code into my document, but failed to enable > syntax highlighting. > > Tested on: linux-64, context-2011.05.18 (same with the beta) stand-alone mkIV > > 1) \starttyping[option=C] just prints verbatim text.

[NTG-context] Syntax highlighting for C-code

2012-01-14 Thread Richard Weickelt
Hi, I've tried to include some C-code into my document, but failed to enable syntax highlighting. Tested on: linux-64, context-2011.05.18 (same with the beta) stand-alone mkIV 1) \starttyping[option=C] just prints verbatim text. There seems to be no formatter for C out of the box. 2) t-vim

[NTG-context] syntax-highlighting

2011-10-31 Thread Jan Heinen
Hello, I've installed Scite on a Linux-Computer. I can build the pdf with F5; when I start to write a context-command the completion is suggested, e.g. \pa -> \page There is no syntax-highlighting. How to switch it on? Regards Jannis __

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-21 Thread Aditya Mahajan
On Fri, 21 Nov 2008, Shiv Shankar Dayal wrote: >>> Finally some success. I get product-name-vimsyntax.tmp when I run context. >>> It complains about not finding product-name-vimsyntax.tmp-vimsyntax.tmp. >>> >>> I kill the compilation and run the command for vim manually which generates >>> product

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-21 Thread Shiv Shankar Dayal
>> Finally some success. I get product-name-vimsyntax.tmp when I run context. >> It complains about not finding product-name-vimsyntax.tmp-vimsyntax.tmp. >> >> I kill the compilation and run the command for vim manually which generates >> product-name-vimsyntax.tmp-vimsyntax.tmp. Then I run context

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-20 Thread Aditya Mahajan
On Thu, 20 Nov 2008, Shiv Shankar Dayal wrote: > Hi, > > Finally some success. I get product-name-vimsyntax.tmp when I run context. > It complains about not finding product-name-vimsyntax.tmp-vimsyntax.tmp. > > I kill the compilation and run the command for vim manually which generates > product-n

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-20 Thread Shiv Shankar Dayal
Hi, Finally some success. I get product-name-vimsyntax.tmp when I run context. It complains about not finding product-name-vimsyntax.tmp-vimsyntax.tmp. I kill the compilation and run the command for vim manually which generates product-name-vimsyntax.tmp-vimsyntax.tmp. Then I run context again an

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-19 Thread Aditya Mahajan
On Wed, 19 Nov 2008, Shiv Shankar Dayal wrote: > Hi, > > I updated context and grepped mtxrun for noquotes and the output is > same as yours. > > I have a query. Line 270 of t-vim says \runvimsyntax{#2} > Line275: \input #2-vimsyntax.tmp\relax > > where #2 is product_name-vimsyntax.tmp. > > This m

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-19 Thread Shiv Shankar Dayal
Hi, I updated context and grepped mtxrun for noquotes and the output is same as yours. I have a query. Line 270 of t-vim says \runvimsyntax{#2} Line275: \input #2-vimsyntax.tmp\relax where #2 is product_name-vimsyntax.tmp. This means that if the product name is xyz then \runvimsyntax{#2} which

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-19 Thread Aditya Mahajan
On Wed, 19 Nov 2008, Shiv Shankar Dayal wrote: > Hi, > > I am running MarkIV and "luatools t-vim.tex" shows me the path of t-vim.tex. > The version does say version=2008.07.15. OK. So, t-vim is up-to-date. > I tried to execute the same command which t-vim.tex executes for vim but > it says that

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-19 Thread Shiv Shankar Dayal
Hi, I am running MarkIV and "luatools t-vim.tex" shows me the path of t-vim.tex. The version does say version=2008.07.15. I tried to execute the same command which t-vim.tex executes for vim but it says that command line is not correct. I switched on the logging and then I read the log and it say

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-18 Thread Aditya Mahajan
On Tue, 18 Nov 2008, Shiv Shankar Dayal wrote: > Hi, > > I tried on both windows as well as on linux but I fail with the new > module as well. > The error being the same. > > I can't find file `xyz-vimsyntax.tmp-vimsyntax.tmp'. > > One thing I noticed that there is t-vim.tpm file. Where to put it?

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-18 Thread Shiv Shankar Dayal
Hi, I tried on both windows as well as on linux but I fail with the new module as well. The error being the same. I can't find file `xyz-vimsyntax.tmp-vimsyntax.tmp'. One thing I noticed that there is t-vim.tpm file. Where to put it? I have installed texlive 2008 in C\texlive on Windows and /usr

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-18 Thread Aditya Mahajan
On Tue, 18 Nov 2008, Shiv Shankar Dayal wrote: > Hi, > > If I have a product name xyz and I have following things set up. > \usemodule[vim] > \setuptyping[option=color] > \definevimtyping [C] [syntax=c] > > then I have following > .. > \startC > #include > usi

[NTG-context] syntax highlighting problem with vim module

2008-11-18 Thread Shiv Shankar Dayal
Hi, If I have a product name xyz and I have following things set up. \usemodule[vim] \setuptyping[option=color] \definevimtyping [C] [syntax=c] then I have following .. \startC #include using namespace std; \stopC . I get the error : I can'