From: Jeong Dal <haksan@me.com>
To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Re: Installing VSCode extension?
Date: Wed, 5 Aug 2020 18:57:01 +0900 [thread overview]
Message-ID: <E3BF8937-05A0-46B5-A18F-4E8C5D7E76D2@me.com> (raw)
In-Reply-To: <mailman.1104.1596544715.23406.ntg-context@ntg.nl>
[-- Attachment #1.1: Type: text/plain, Size: 1339 bytes --]
Dear Mikael,
> 2) Is there a nice way to compile the tex file from
> within vs code? As of
> now, I opened a terminal and compiled from that, but that feels like the
> wrong way of doing it.
For the first question, I don’t know either.
For the second question, I’d like to explain what I did for compiling TeX file in vscode.
Since I use vscode in MacOsX, you may find your way in Linux.
There is a tasks.json file in .vscode folder.
I added the following script in the “tasks":[ ] and save it.
(You have to modify the "texmf-osx-64/bin” path in the following script from your machine.
{
"label": "ConTeXt LuaMetaTeX",
"type": "shell",
"command": "export PATH=/Users/graph/ConTeXtLM/tex/texmf-osx-64/bin:$PATH;mtxrun --autogenerate --script context --autopdf --purge '${file}'",
"args": [],
"options": {
"cwd": "${fileDirname}"
},
"group": {
"kind": "build",
"isDefault": true
}
},
When you want to compile a ConTeXt file, find “terminal > Run Build task” in the menu,
then “ConTeXt LuaMetaTex” will pop up.
Or just use the key “command-shift-B” instead using menu item.
I hope that it may help.
Best wishes,
Dalyoung
[-- Attachment #1.2: Type: text/html, Size: 6551 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next parent reply other threads:[~2020-08-05 9:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1104.1596544715.23406.ntg-context@ntg.nl>
2020-08-05 9:57 ` Jeong Dal [this message]
2020-08-05 20:07 ` Mikael Sundqvist
2020-12-02 9:34 ` Saša Janiška
[not found] <mailman.958.1596074262.23406.ntg-context@ntg.nl>
2020-07-30 5:52 ` Jeong Dal
2020-07-30 10:25 ` Henning Hraban Ramm
2020-08-04 12:38 ` Mikael Sundqvist
2020-12-17 6:28 ` Saša Janiška
2020-12-17 6:51 ` Mikael Sundqvist
2020-12-17 9:40 ` Saša Janiška
2020-12-17 15:55 ` Mikael Sundqvist
2020-07-28 4:51 Alasdair McAndrew
2020-07-28 16:50 ` Hans Hagen
2020-07-29 12:19 ` Alasdair McAndrew
2020-07-29 15:12 ` Henning Hraban Ramm
2020-07-30 1:57 ` Alasdair McAndrew
2020-07-30 6:32 ` Lutz Haseloff
2020-07-30 10:33 ` Henning Hraban Ramm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E3BF8937-05A0-46B5-A18F-4E8C5D7E76D2@me.com \
--to=haksan@me.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).