Re: [NTG-context] Pretty printer for matlab

2019-02-21 Thread Otared Kavian
Hi Marco, Thanks! I hadn't tries [syntax=scilab], but I just did it and it works exactly as expected! However I could not edit the file scilab.vim which sits (on my machine) in /usr/share/vim/vim80/syntax/scilab.vim Meanwhile, out of curiosity I modified the two files

Re: [NTG-context] Pretty printer for matlab

2019-02-21 Thread Marco Patzer
On Thu, 21 Feb 2019 15:10:27 +0100 Otared Kavian wrote: > Thanks for pointing to that module, which I didn't know because I > never use vim… I just tested it and seems fine, but I would need to > modify some of the keywords of Matlab in order to adapt them to > Scilab. However I didn't find

Re: [NTG-context] Pretty printer for matlab

2019-02-21 Thread Otared Kavian
Hi Marco, Thanks for pointing to that module, which I didn't know because I never use vim… I just tested it and seems fine, but I would need to modify some of the keywords of Matlab in order to adapt them to Scilab. However I didn't find where those keywords are defined in the vim module. Best

Re: [NTG-context] Pretty printer for matlab

2019-02-21 Thread Marco Patzer
On Thu, 21 Feb 2019 14:25:03 +0100 Otared Kavian wrote: > Is there a pretty printer file to typeset Matlab codes? How about Aditya's vim module? It supports Matlab: \usemodule [vim] \definevimtyping [matlab] [syntax=matlab] \starttext \startmatlab … \stopmatlab \stoptext Marco

[NTG-context] Pretty printer for matlab

2019-02-21 Thread Otared Kavian
Hi all, Is there a pretty printer file to typeset Matlab codes? Actually I would like to modify such a file in order to define a typing environment to typeset portions of codes written for Scilab, which is a sort of free version of Matlab. Thanks for any comment and help: OK

Re: [NTG-context] Pretty printer

2017-03-28 Thread Hans Hagen
On 3/28/2017 10:33 AM, Procházka Lukáš Ing. wrote: Hello, I'd like to write my own pretty-printer (it should just highlight words/members of a set-of-keywords with a color), preferably as a Lua handler. Following wiki: http://wiki.contextgarden.net/Verbatim_text I searched for verb*.* or

[NTG-context] Pretty printer

2017-03-28 Thread Procházka Lukáš Ing .
Hello, I'd like to write my own pretty-printer (it should just highlight words/members of a set-of-keywords with a color), preferably as a Lua handler. Following wiki: http://wiki.contextgarden.net/Verbatim_text I searched for verb*.* or pret*.* in the Ctx distribution (on my local