how to setup path of ConTeXtLMTX for MacVim?
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? Thank you. Best regards, Dalyoung
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
participants (2)
-
Jeong Dal
-
Nicola