ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Undefined controle sequence with usemodule[vim]
Date: Tue, 3 Jan 2012 06:23:57 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.02.1201030622380.11181@nqv-gnoyrg> (raw)
In-Reply-To: <alpine.LNX.2.02.1202011248150.6447@nqv-gnoyrg>

On Wed, 3 Jan 2012, Aditya Mahajan wrote:

> 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.

This was a bug introduced by the recent cleanup of code for filter and vim 
modules. Should work well with the latest version (2012.01.03).

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2012-01-03 11:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-02 17:16 pol stra
2012-01-03  5:55 ` Aditya Mahajan
2012-01-03 11:23   ` Aditya Mahajan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.02.1201030622380.11181@nqv-gnoyrg \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).