Re: [NTG-context] type and typing comments for TeX and Lua
On Thu, 21 Dec 2017 21:16:45 +0100, Pablo Rodriguez
On 12/21/2017 05:04 PM, Christoph Reller wrote:
Dear Pablo,
At least for XML you could use my module highlight-xml:
\usemodule[highlight-xml] \definetype[xml][option=xml] [...] Note that even partial XML is highlighted correctly.
It is really a pity that it lacks TeX, since I’m focused on ConTeXt yet (after all, it would be a Spanish introduction to ConTeXt ;-)). XML will come later.
Maybe, if I find the time, I will add TeX and Lua to my module some time.
I’m afraid that XML comments are colored the same way with your module and with standard ConTeXt.
That should not be the case. Could it be, that the highlight-xml module fails to load? Please check your log file for a "module not found" entry. I have attached the result of my earlier sample. My module does not come in standard context. You have to download it from https://bitbucket.org/philexander/context-highlight. If general interest is high enough I can ask <whoever is responsible for this> to add it. Kind regards, Christoph
On 12/21/2017 10:16 PM, Christoph Reller wrote:
On Thu, 21 Dec 2017 21:16:45 +0100, Pablo Rodriguez wrote:
[...] It is really a pity that it lacks TeX, since I’m focused on ConTeXt yet (after all, it would be a Spanish introduction to ConTeXt ;-)). XML will come later.
Maybe, if I find the time, I will add TeX and Lua to my module some time.
Hi Christoph, sorry for not replying before. I was away for Christmas. I would love to be able to contribute the TeX highlighting, but this is far beyond my knowledge :-(.
I’m afraid that XML comments are colored the same way with your module and with standard ConTeXt.
That should not be the case. Could it be, that the highlight-xml module fails to load? Please check your log file for a "module not found" entry. I have attached the result of my earlier sample.
You are right, I had to download and install the module.
My module does not come in standard context. You have to download it from https://bitbucket.org/philexander/context-highlight. If general interest is high enough I can ask <whoever is responsible for this> to add it. The module doesn’t come with the ConTeXt Suite, but it seems to be added to it: https://modules.contextgarden.net/cgi-bin/module.cgi/action=view/id=82.
Taco, sorry for bothering, but why is this module not distributed with the ConTeXt Suite? Many thanks for your help (both Christoph and Taco), Pablo -- http://www.ousia.tk
On 12/21/2017 10:16 PM, Christoph Reller wrote:
My module does not come in standard context. You have to download it from https://bitbucket.org/philexander/context-highlight. If general interest is high enough I can ask <whoever is responsible for this> to add it.
Christoph, could you enable issues in your Bitbucket repository? Many thanks for your help, Pablo -- http://www.ousia.tk
participants (2)
-
Christoph Reller
-
Pablo Rodriguez