On Fri, 17 Jul 2015, Eric Détrez wrote:
It seems that the answer could be in the t-vim (third party) module. It uses the syntax analysis from VIm (you have to install it :))
Here is a minimal example on how to use t-vim: \definevimtyping [PYTHON] [syntax=python] \starttext \startPYTHON print("Hello") \stopPYTHON \stoptextFor more details, see: https://github.com/adityam/filter/blob/master/vim-README.md
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 ___________________________________________________________________________________