From: Aditya Mahajan <adityam@umich.edu>
To: info@eric-detrez.fr, mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: where are the pret-xxxx.lua ?
Date: Fri, 17 Jul 2015 11:59:46 -0400 (EDT) [thread overview]
Message-ID: <alpine.OSX.2.02.1507171158290.6100@nqv-znpobbx> (raw)
In-Reply-To: <f1e6ff0f2fb08b8662f103a8cf29d8cf@eric-detrez.fr>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 446 bytes --]
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
\stoptext
For more details, see:
https://github.com/adityam/filter/blob/master/vim-README.md
Aditya
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2015-07-17 15:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-17 7:27 Eric Détrez
[not found] ` <55A8FBD9.5010906@gmail.com>
2015-07-17 14:24 ` Eric Détrez
2015-07-17 14:36 ` Wolfgang Schuster
2015-07-17 15:59 ` 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.OSX.2.02.1507171158290.6100@nqv-znpobbx \
--to=adityam@umich.edu \
--cc=info@eric-detrez.fr \
--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).