[NTG-context] [***SPAM***] Re: Syntax highlighting for C-code

2012-01-14 Thread Peter Münster
On Fri, Jan 13 2012, Richard Weickelt wrote:

 2) t-vim did not work. It failed somewhere (unknown command sequence
 \installspacehandler) on loading (\usemodule[vim])

Usually, t-vim works quite well. Perhaps it's just broken with your
particular context version.


 3) http://wiki.contextgarden.net/Verbatim_text
 I tried to download pret-c and put it into the modules folder, but writing
 \installprettytype[C][C] failed, because it's not known (in mkIV).

Should work with an old context version (end of 2010).

You can also try
http://tlcontrib.metatex.org/cgi-bin/package.cgi/action=view/id=367

-- 
   Peter
___
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
___


Re: [NTG-context] [***SPAM***] Re: Syntax highlighting for C-code

2012-01-14 Thread Aditya Mahajan

On Sat, 14 Jan 2012, Peter Münster wrote:


On Fri, Jan 13 2012, Richard Weickelt wrote:


2) t-vim did not work. It failed somewhere (unknown command sequence
\installspacehandler) on loading (\usemodule[vim])


Usually, t-vim works quite well. Perhaps it's just broken with your
particular context version.


In the current beta, \installspacehandler has been renamed to 
\installspacemethod. So, saying


\let\installspacehandler\installspacemethod

before loading vim module should fix this bug (untested).

However, since buffers are also broken in the current beta (see other 
messages), t-vim (and t-filter) will not work with the current beta. 
I'll check and upload a new version of the module, but you'll have to wait 
until Hans uploads a new beta to get everything working.


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
___