Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-09-24 Thread Nikolai Weibull
(OK, this is old, but I finally did something about it.) VnPenguin wrote: Just tested your context.vim under vim 6.3.x; It's better than tex/latex standard syntax in vim 6.3 IMHO. I have only a small remark: The following code is valid in ConTeXt: \useURL

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-15 Thread Nikolai Weibull
VnPenguin wrote: Just tested your context.vim under vim 6.3.x; It's better than tex/latex standard syntax in vim 6.3 IMHO. Great, thanks! I have only a small remark: The following code is valid in ConTeXt: \useURL [book-ns-openssl][http://www.amazon.com/exec/obidos/ASIN/

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-14 Thread Christopher Creutzig
Thomas A. Schmitz wrote: like to do with vim - the line numbering alone is wonderful, there is no equivalent in emacs (and I've tried quite a lot of things!). So Not wishing to discredit vim, I'd still like to ask what is missing with the solution presented at

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-14 Thread Thomas A. Schmitz
On Jul 14, 2005, at 4:50 PM, Christopher Creutzig wrote:Thomas A. Schmitz wrote: like to do with vim - the line numbering alone is wonderful,  there is no equivalent in emacs (and I've tried quite a lot of  things!). So   Not wishing to discredit vim, I'd still like to ask what is missing with the

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-14 Thread VnPenguin
On 7/8/05, Nikolai Weibull [EMAIL PROTECTED] wrote: Mojca Miklavec wrote: In case someone finds this experimental piece of code for highlighting metapost inside ConTeXt useful, put: Hi! I don't want to be a party-pooper, but I have already commited support for the context file-type

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-12 Thread Mojca Miklavec
Nikolai Weibull wrote: I don't want to be a party-pooper, but I have already commited support for the context file-type to vim7 CVS. Perhaps you can look over my version and make suggestions? That's great! I didn't know that. Some time ago some people were asking about ConTeXt support for

[NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-08 Thread Mojca Miklavec
In case someone finds this experimental piece of code for highlighting metapost inside ConTeXt useful, put: ConTeXt augroup filetypedetect au! BufRead,BufNewFile *.texsetfiletype context augroup END somewhere to your filetype.vim (probably after TeX) and move the attached

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-08 Thread Thomas A. Schmitz
Mojca, just wonderful to see that there's another ConTeXt user who likes vim! Though I'm basically an emacs person, there are some editing tasks I like to do with vim - the line numbering alone is wonderful, there is no equivalent in emacs (and I've tried quite a lot of things!). So

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-08 Thread Hans Hagen
Mojca Miklavec wrote: In case someone finds this experimental piece of code for highlighting metapost inside ConTeXt useful, put: ConTeXt augroup filetypedetect au! BufRead,BufNewFile *.texsetfiletype context augroup END somewhere to your filetype.vim (probably after TeX) and

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-08 Thread Nikolai Weibull
(Sorry for responding to two separate mails, I'm a bit rushed, going on a three-day holiday.) Hans Hagen wrote: Mojca Miklavec wrote: If you have something like \startMPpage draw ... \stopMPpage, it will do the syntax highligting for metapost inside the \start-\stop pair. That's

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-08 Thread Nikolai Weibull
Mojca Miklavec wrote: In case someone finds this experimental piece of code for highlighting metapost inside ConTeXt useful, put: Hi! I don't want to be a party-pooper, but I have already commited support for the context file-type to vim7 CVS. Perhaps you can look over my version and make

Re: [NTG-context] TeX + Metapost syntax highlighting in Vim

2005-07-08 Thread VnPenguin
On 7/8/05, Thomas A. Schmitz [EMAIL PROTECTED] wrote: Mojca, just wonderful to see that there's another ConTeXt user who likes vim! Though I'm basically an emacs person, there are some editing I use vim everyday here with ConTeXt for vietnamese text :-) It's nice to have a set of