Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-15 Thread Jeong Dal via ntg-context
Dear Jan-Erik, Thank you for sharing your code. It will be very helpful for me. I hope that my problem is solved soon. Thank you again. Best regards, Dalyoung ___ If your question is of interest to others as well

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-15 Thread Nicola via ntg-context
On 2021-12-14, Jeong Dal via ntg-context wrote: > Although you have explained about the way out of my problem, > I am still in the problem. I am maintaining the ConTeXt plugin for Vim, and I also use MacVim: feel free to contact me off list to help you iron out your issues (email in the source co

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
en replying, please edit your Subject line so it is more specific >> than "Re: Contents of ntg-context digest..." >> >> >> Today's Topics: >> >> 1. Re: how to setup path of ConTeXtLMTX for MacVim? >> (Jan-Erik Hägglöf) >> 2. Re:

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jeong Dal via ntg-context
--- > > Message: 1 > Date: Tue, 14 Dec 2021 00:48:25 +0100 > From: Jan-Erik Hägglöf > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] how to setup path of ConTeXtLMTX for > MacVim? > Message-ID: <3256

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Nicola via ntg-context
On 2021-12-13, Jeong Dal via ntg-context wrote: > Dear John, Nicola, > > I created a file context.vim under the folder ~/.vim/after/ftplugin/ which > contains > > map > :w:!ConTeXt > let g:context_mtxrun = 'PATH=$HOME/ConTeXtLM/tex/texmf-osx-64/bin:$PATH > mtxrun' > let g:tex_flavor = "context"

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-13 Thread Jan-Erik Hägglöf via ntg-context
let g:context_mtxrun = 'PATH=$HOME/context/context-osx-64/tex/texmf-osx-64/bin:$PATH mtxrun' nnoremap å :ConTeXt nnoremap ö :call tex#preview() nnoremap ä \ :call tex#goto_texshop(expand("%:p"), line('.'), col('.'), 1, 1) Here is my snippet from my personal context.vim file I see that you

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-13 Thread Jeong Dal via ntg-context
Dear John, Nicola, I created a file context.vim under the folder ~/.vim/after/ftplugin/ which contains map > :w:!ConTeXt let g:context_mtxrun = 'PATH=$HOME/ConTeXtLM/tex/texmf-osx-64/bin:$PATH mtxrun' let g:tex_flavor = "context" The result is 1. using “:ConTeXt” issued an error message: “E4

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-13 Thread Jeong Dal via ntg-context
Dear John, Nicola, Thank you for your help. I have to check the wiki carefully first. I’ll do what you said and report it later. Thank you again. Best regards, Dalyoung ___ If your question is of interest to other

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-12 Thread Nicola via ntg-context
On 2021-12-11, Jeong Dal via ntg-context wrote: > 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 red

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-12 Thread John Kitzmiller via ntg-context
> > How to redirect the path for ConTeXt in MacVim? > I put this in .vimrc: map :w :!context % and $PATH directs "context" to the right place: /Users/kitz/lmtx/tex/texmf-osx-64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin To open the .pdf: :!open -a %r.pdf ___

[NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-11 Thread 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? Thank you. Best regards