![](https://secure.gravatar.com/avatar/13bc5842f0b785acdb8f02c38b78439d.jpg?s=120&d=mm&r=g)
13 Apr
2016
13 Apr
'16
10:39 p.m.
Nicola
I have found an old document of mine, which uses a (slightly customized) pret-c.lua, located inside the project's folder. It compiles, but I don't get syntax highlighting. Is it because pret-c is not searched in the project's directory?
Alternatively you can set the TEXMF_LOCAL environment variable to some directory where your "private" texmf-tree resides. Note that after this you have to run context --generate in order for context to find the modules in your texmf-tree. Also note that the compilation logfile written by context tells you what modules have been found in which locations. I hope this helps, Christoph