Re: [NTG-context] Questions about Scite lexers
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
On Wed, Apr 13, 2016 at 10:39 PM Christoph Reller < christoph.reller@gmail.com> wrote:
Nicola
wrote on Wed., 13. Apr. 2016 19:36: 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
Sorry, the environment variable should be named TEXMFLOCAL, without the underscore Cheers, Christoph
On 2016-04-14 05:10:18 +0000, Christoph Reller said:
On Wed, Apr 13, 2016 at 10:39 PM Christoph Reller
wrote: Nicola wrote on Wed., 13. Apr. 2016 19:36: 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
Sorry, the environment variable should be named TEXMFLOCAL, without the underscore
Thanks for all the suggestions. I will experiment a bit, and come back to the mailing list for further questions. Nicola
participants (2)
-
Christoph Reller
-
Nicola