From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104956 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jeong Dal Newsgroups: gmane.comp.tex.context Subject: Re: How to use ConTeXt extensions with VS Code Date: Tue, 3 Sep 2019 02:35:05 +0900 Message-ID: References: <8FABE251-E7E2-4499-9AE4-AED4A830C5E4@me.com> <734ca41e-4146-9286-0237-34fbbb32a240@xs4all.nl> <2949416E-608E-4554-ABCA-BCCA0E1424A7@me.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: multipart/mixed; boundary="===============8428267246817227788==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="128539"; mail-complaints-to="usenet@blaine.gmane.org" Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 02 19:35:34 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i4qEm-000XGm-AL for gctc-ntg-context-518@m.gmane.org; Mon, 02 Sep 2019 19:35:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D3F81160747; Mon, 2 Sep 2019 19:35:14 +0200 (CEST) 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 i99vxLMR74WN; Mon, 2 Sep 2019 19:35:13 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E354E16074B; Mon, 2 Sep 2019 19:35:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 37E63160748 for ; Mon, 2 Sep 2019 19:35:12 +0200 (CEST) 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 O_WP9iO5B9UF for ; Mon, 2 Sep 2019 19:35:11 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=17.58.6.56; helo=pv50p00im-ztdg10021801.me.com; envelope-from=haksan@me.com; receiver= Original-Received: from pv50p00im-ztdg10021801.me.com (pv50p00im-ztdg10021801.me.com [17.58.6.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 2AEBD160744 for ; Mon, 2 Sep 2019 19:35:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1567445709; bh=uve9dZuo8t3BolqX5kch1LxLPoqxAwwr3BVgy+vDY2I=; h=From:Message-Id:Content-Type:Subject:Date:To; b=K14BlsdsCyNvhoNV7QSpgrMtqazMOQ0ujS0KUMYXyWQEK42ns8yb+wUqKDaA5Np8J 5pTiAks5TGoExq7aQ3OsSlOG3soZPx5fLmIQhicfgq+sCaf7O8QxeRqae537sZC/Qj WzgR68QggeDXaYaaJoyNdytNT2gsUSCa923STBTvq8FrQEcxKL9S8A4DCU7vHChlOM R1NRmyrbgcdumtvsJj+ixzHgagQIgIHT5kLI+Xs1Gw3i5YwIdTUA4okNBOxnKgY00R Q1k86TB1X1w4nKPjbprAUakKbaJjDsQIpXaed1l8Q8eDTqhGOQtGDhHJu11BNUWrZY etKg+A/XctMLg== Original-Received: from [10.0.1.6] (unknown [222.232.154.22]) by pv50p00im-ztdg10021801.me.com (Postfix) with ESMTPSA id 4D175360B39; Mon, 2 Sep 2019 17:35:08 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3445.104.11) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-09-02_06:, , 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-1812120000 definitions=main-1909020198 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.org gmane.comp.tex.context:104956 Archived-At: --===============8428267246817227788== Content-Type: multipart/alternative; boundary="Apple-Mail=_27658372-C68D-4E5F-B427-9A20B0A1B5A0" --Apple-Mail=_27658372-C68D-4E5F-B427-9A20B0A1B5A0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear Hans, >> But I cannot see any syntax coloring and don=E2=80=99t know how to = compile a TeX file. >> Would you please help me more? > I think you also need to choose the context color scheme >=20 Yes, syntax coloring works after choosing the context color scheme. I find a following task file to compile a file from vscode, but it = doesn=E2=80=99t work. Here is the error message: /bin/bash: context: command not found The terminal process terminated with exit code: 127 %%%%% { // See https://go.microsoft.com/fwlink/?LinkId=3D733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "ConTeXt build", "type": "shell", // Keep in mind that the file path here has to = be changed "command": "context myfile.tex",=20 "group": { "kind": "build", "isDefault": true // Since we set this task to the default = build task, you can=20 // run it with a keyboard shortcut = (Ctrl+Shift+B by default) } } ] } %%%%%%% i am using ConTeXtLMTX installed ~/ConTeXtLMTX/. Thank you. Best regards, Dalyoung= --Apple-Mail=_27658372-C68D-4E5F-B427-9A20B0A1B5A0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Dear = Hans,

But I cannot see any syntax coloring and = don=E2=80=99t know how to compile a TeX file.
Would you = please help me more?
I think you also need to = choose the context color scheme


Yes, = syntax coloring works after choosing the context color = scheme.

I find a following task file = to compile a file from vscode, but it doesn=E2=80=99t = work.

Here is the error = message:

/bin/bash: context: = command not found
The terminal process terminated with exit = code: 127

%%%%%
{ // See https://go.microsoft.com/fwlink/?LinkId=3D733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "ConTeXt = build", "type": "shell", // Keep in mind that the file path here has to be changed "command": "context = myfile.tex", "group": { = "kind": "build", = "isDefault": true = // Since we set this task to the default build task, you can // run it with a keyboard shortcut (Ctrl+Shift+B by default) = } = } = ]}
%%%%%%%
i am using ConTeXtLMTX installed ~/ConTeXtLMTX/.

Thank you.
Best regards,

Dalyoung
= --Apple-Mail=_27658372-C68D-4E5F-B427-9A20B0A1B5A0-- --===============8428267246817227788== 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== --===============8428267246817227788==--