[NTG-context] Undefined controle sequence with usemodule[vim]

Aditya Mahajan adityam at umich.edu
Tue Jan 3 06:55:18 CET 2012


On Mon, 2 Jan 2012, pol stra wrote:

>
> Hello everyone,
>
>
> When I use t-vim module, I get this error message:
> <error msg>
> system          > tex > error on line 15 in file vim.tex: Undefined control sequence ...
>
> </error msg>
>
>
> for example with this code:
> <code>
> \usemodule[vim]
>
> \definevimtyping[python][syntax=python, escape=on]
> \starttext
> \startpython
>    # Returns \m{\sum_{i=1}^{n}i}
>    def sum_upto(n)
>            r = range(1, n+1)
>            return sum(r)
> \stoppython
> \stoptext
> </code>

This works fine with 2011.12.23. I'll update later to see why this is 
failing with 2011.12.31.

Aditya


More information about the ntg-context mailing list