From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: info@eric-detrez.fr
Cc: ntg-context@ntg.nl
Subject: Re: where are the pret-xxxx.lua ?
Date: Fri, 17 Jul 2015 16:36:19 +0200 [thread overview]
Message-ID: <55A912E3.4020204@gmail.com> (raw)
In-Reply-To: <f1e6ff0f2fb08b8662f103a8cf29d8cf@eric-detrez.fr>
[-- Attachment #1.1: Type: text/plain, Size: 664 bytes --]
> Eric Détrez <mailto:info@eric-detrez.fr>
> 17. Juli 2015 16:24
>
>
> 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.
The module “abr-01” defines only the XML and LUA logos which is used in
\subject.
The code for the syntax highlighting is stored in the file
“buff-imp-xx.mkiv” and “buff-imp-xx.lua”. The TeX file sets the colors
for the keywords etc. in your code and loads the correspoding Lua file
and the Lua file itself stores the rules for the syntax highlighting.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1656 bytes --]
[-- 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
___________________________________________________________________________________
next prev parent reply other threads:[~2015-07-17 14:36 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 [this message]
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=55A912E3.4020204@gmail.com \
--to=schuster.wolfgang@gmail.com \
--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).