[NTG-context] Making a verbatim file for another language

Aditya Mahajan adityam at umich.edu
Mon Dec 25 20:37:40 CET 2006

On Mon, 25 Dec 2006, Mojca Miklavec wrote:

> On 12/25/06, cormullion at mac.com wrote:
> > I'm going to try to make a 'verbatim- module' (don't know what the
> > right word is) for another language. I've found:
> >
> > /usr/local/teTeX/share/texmf.tetex/tex/context/base/verb-pl.tex
> >
> > and can probably have a go at making a version of this. Some
> > questions occur:
> >
> > 1: where should i put my file?
> > 2: do I have to do anything else to get Context to recognise and use it?
> >
> > cheers
> Unless you need that highlighting urgently, I would wait for luatex in
> your case and write it in lua then (which is certainly less painful
> than writing it in plain TeX). But it's up to you. I found those TeX
> definitions too complicated to even try to understand, I would never
> dare to try writing one by myself.

Any update on 2context.vim? Then things could be as simple as

Your code

with a external call to vim -u NONE buffer.tmp
with an appropriate autocommand to set filetype, colorscheme and 
source 2context.


More information about the ntg-context mailing list