17 Aug
2017
17 Aug
'17
midnight
On Wed, 16 Aug 2017, Pablo Rodriguez wrote:
sorry for insisting, but I need to solve this.
I don't know how to answer your questions with the default syntax highlighting in ConTeXt, but are you willing to consider t-vim module for typesetting code. The output for your example is attached. All you need to do is add the following in the document preamble: \usemodule[vim] \definevimtyping[TEX][syntax=context] \definevimtyping[XML][syntax=xml] \definevimtyping[LUA][syntax=lua] If you have lot of code snippets, you may want to create a directory to store temporary files. You can do this using \setupvimtyping[directory=output] and then create a directory called "output" in the folder from which you run ConTeXt. Aditya