ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Eric Détrez" <info@eric-detrez.fr>
To: ntg-context@ntg.nl
Subject: Re: where are the pret-xxxx.lua ?
Date: Fri, 17 Jul 2015 16:24:54 +0200	[thread overview]
Message-ID: <f1e6ff0f2fb08b8662f103a8cf29d8cf@eric-detrez.fr> (raw)
In-Reply-To: <55A8FBD9.5010906@gmail.com>

Le 17-07-2015 14:58, Wolfgang Schuster a écrit :
>> Eric Détrez
>> 17. Juli 2015 09:27
>> I wish to print some highlighted source codes.
>> The Context garden says "There are already some formatters for
>> several programming languages in the ConTeXt distribution".
>> I can see the verb-xxxx (for mkII) but no pret-xxx (for mkIV) in the
>> base folder.
>> Is it possible to get syntax highlight in mkIV ?
>  You can enable syntax highlighting for TeX, Lua, XML and MetaPost
> with MkIV. To enable the option pass "option=...” to the
> \starttyping command or create your own environment with the
> \definetyping command.

OK
Thank you for the working example.
But my question asked where are the config files : I want to get a 
Python pretty-printing.
The module abr-01 seems the key but I couldn't find it.

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 :))

-- 
Eric Détrez
Informatique
Lycée Faidherbe, Lille
http://eric-detrez.fr
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2015-07-17 14:24 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 [this message]
2015-07-17 14:36     ` Wolfgang Schuster
2015-07-17 15:59     ` Aditya Mahajan

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=f1e6ff0f2fb08b8662f103a8cf29d8cf@eric-detrez.fr \
    --to=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).