Hi all, There are a few technical hurdles with using the t-vim module in LMTX. First, users need to install the module using externally defined shell scripts. Second, it's awkward to communicate to users how to install it, especially for Windows users. Third, it likely requires installing vim, as a separate step. Fourth, making general-purpose XML setups that optionally rely on syntax highlighting when it is an optional install is a little laborious. If installing a module was as easy as "install.sh --module=t-vim" then that would leap over most hurdles. Although there'd still be a dependency on installing vim. Of course, it'd be pretty sweet if ConTeXt itself could automatically install the necessary module when encountered (or provide a command-line option to grant permissions to do so), but I understand that that would be a hefty undertaking. The following pages discuss creating syntax highlighters: - https://wiki.contextgarden.net/Verbatim_text - https://wiki.contextgarden.net/Custom_pretty_printer - https://tex.stackexchange.com/a/333620/2148 How would you go about creating a syntax highlighter for Java that can work with LMTX? Specifically, I'd like to know: - Where do the files need to be saved? (e.g., tex/texmf-context/tex/context/base/mkiv/) - What file name is required? (e.g., buff-imp-java.lua and buff-imp-java.mkiv) - How is the parser loaded? (e.g., \loadmarkfile{buff-imp-java} or \installprettytype[java][java]) Ultimately, this is going to be used with XML snippets along the lines of:
public final class Example {
  public static void main( String args[] ) {
  }
}
Having the ability to dynamically define the requisite start/stop environments based on the class attribute would be rather convenient. Thank you!