[NTG-context] where are the pret-xxxx.lua ?

Wolfgang Schuster schuster.wolfgang at gmail.com
Fri Jul 17 16:36:19 CEST 2015


> Eric Détrez <mailto:info at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150717/30dd67e6/attachment.html>


More information about the ntg-context mailing list