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

pol stra ryzz at hotmail.fr
Mon Jan 2 18:16:33 CET 2012


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>



But as you can see, there is no line 15 in this file !


Anyway, I can just ignore the error and get the output, but that’s not good.


I attached the log file.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120102/29de37ad/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vim.log
Type: application/octet-stream
Size: 19942 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120102/29de37ad/attachment-0001.obj>


More information about the ntg-context mailing list