From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113727 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeong Dal via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: how to setup path of ConTeXtLMTX for MacVim? Date: Mon, 13 Dec 2021 22:30:46 +0900 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: multipart/mixed; boundary="===============7594999642182629222==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32019"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jeong Dal To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 13 14:31:28 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwlQO-00083A-AS for gctc-ntg-context-518@m.gmane-mx.org; Mon, 13 Dec 2021 14:31:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 411662A1A69; Mon, 13 Dec 2021 14:31:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MQOAyaFQa0yc; Mon, 13 Dec 2021 14:30:59 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B77A22A1A5E; Mon, 13 Dec 2021 14:30:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7690B2A1A5E for ; Mon, 13 Dec 2021 14:30:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9OdjG6fzRmrz for ; Mon, 13 Dec 2021 14:30:56 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=17.58.6.58; helo=pv50p00im-ztdg10022001.me.com; envelope-from=haksan@me.com; receiver= Original-Received: from pv50p00im-ztdg10022001.me.com (pv50p00im-ztdg10022001.me.com [17.58.6.58]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 6B4512A18BC for ; Mon, 13 Dec 2021 14:30:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1639402254; bh=6g5fElFvHWIDFYWKpvbhicDgBvjX++qYPQVdIKKCY6E=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=dN7XHwBc9QBlqlmS5cS1PIe3OFyYOYeXppQsxdHsXxCDfh6LL8tmIdcjOGrZWeflm foUeyjGpdxg3rbywuBxe3fupPusGEoSXUDxtDAupvupi/xRqreqe8G/HKZ61SwBUdy 91Cpi3dtzjdH6JZDWgenyd3/g2EoMvkCGBlDt8kNE/1Lvog6r+l3smMYoLazIdEbMk jqG2CPBaMQt0JXgYVqoL9Ra1lRE1pM0546WSUYJxEFd8SvC04IAaWfarW5lL0LUhvx UlQwLeoGUBoll6qwvmOprZS12gCB1SGba1cxatBdp3KBcqycxQuTSylUcDYwCViRMo SZRPEQMN7SA4Q== Original-Received: from smtpclient.apple (unknown [211.109.237.32]) by pv50p00im-ztdg10022001.me.com (Postfix) with ESMTPSA id 46F31A0132 for ; Mon, 13 Dec 2021 13:30:48 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425, 18.0.790 definitions=2021-12-13_04:2021-12-13, 2021-12-13 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2112130086 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:113727 Archived-At: --===============7594999642182629222== Content-Type: multipart/alternative; boundary="Apple-Mail=_2AD26297-149C-4B63-9D90-C12CF85F12AE" --Apple-Mail=_2AD26297-149C-4B63-9D90-C12CF85F12AE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear John, Nicola, I created a file context.vim under the folder ~/.vim/after/ftplugin/ = which contains map > :w:!ConTeXt let g:context_mtxrun =3D = 'PATH=3D$HOME/ConTeXtLM/tex/texmf-osx-64/bin:$PATH mtxrun' let g:tex_flavor =3D "context" The result is 1. using =E2=80=9C:ConTeXt=E2=80=9D issued an error message: =E2=80=9CE= 492: not an editor command: ConTeXt 2. using =E2=80=9Cmake=E2=80=9D issued an error message: "No targets = specified and no makefile found. =E2=80=A6"=20 Pressing C-h, compiling started and succesfully ended. However, it use = /usr/local/texlive/=E2=80=A6 not LMTX tex folder. Without context.vim, =E2=80=9C:ConTeXt" and =E2=80=9C:make" worked fine. I=E2=80=99ll do more test.=20 Thank you. Best regards, Dalyoung --Apple-Mail=_2AD26297-149C-4B63-9D90-C12CF85F12AE Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Dear John, Nicola,

I = created a file context.vim under the folder ~/.vim/after/ftplugin/ which = contains

map = <C-h>><Esc> = :w<CR>:!ConTeXt<CR>
let = g:context_mtxrun =3D 'PATH=3D$HOME/ConTeXtLM/tex/texmf-osx-64/bin:$PATH = mtxrun'
let g:tex_flavor =3D = "context"

The result = is
1. using =E2=80=9C:ConTeXt=E2=80=9D   issued an error = message:  =E2=80=9CE492: not an editor command: = ConTeXt
2. using =E2=80=9Cmake=E2=80=9D issued an error = message: "No targets specified and no makefile found. = =E2=80=A6" 
Pressing C-h, compiling started and succesfully = ended. However, it use /usr/local/texlive/=E2=80=A6 not LMTX tex = folder.

Without context.vim, = =E2=80=9C:ConTeXt" and =E2=80=9C:make" worked fine.

I=E2=80=99ll do more test. 

Thank you.
Best regards,

Dalyoung

= --Apple-Mail=_2AD26297-149C-4B63-9D90-C12CF85F12AE-- --===============7594999642182629222== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============7594999642182629222==--