12 Dec
2021
12 Dec
'21
4:25 p.m.
On 2021-12-11, Jeong Dal via ntg-context
Hi,
Recently, I have a problem to use vscode, so I tried MacVim for ConTeXt. It worked fine. But it uses context in TeXLive instead of using it in ConTeXtLMTX. I’d like to use LMTX which is installed in ~/ConTeXtLM/tex/...
How to redirect the path for ConTeXt in MacVim?
This is explained at https://wiki.contextgarden.net/Vim. In a nutshell: let g:context_mtxrun = 'PATH=$HOME/ConTeXtLM/tex/texmf-osx-64/bin:$PATH mtxrun' You may put this line in your .vimrc or in ~/.vim/after/ftplugin/context.vim (creating the intermediate directories and file if they do not exist). Hope this helps, Nicola