* VisualStudioCode on Linux
@ 2020-09-24 21:23 Willi Egger
2020-09-25 5:50 ` Mikael Sundqvist
0 siblings, 1 reply; 4+ messages in thread
From: Willi Egger @ 2020-09-24 21:23 UTC (permalink / raw)
To: NTG-Context ConTeXt users
Hello Linux users!
Can somebody tell me how to get the extension for ConTeXt to be installed for VisualStudioCode?
Thani you in advance!
Kind regards
Willi
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: VisualStudioCode on Linux
2020-09-24 21:23 VisualStudioCode on Linux Willi Egger
@ 2020-09-25 5:50 ` Mikael Sundqvist
2020-09-25 16:14 ` Arthur Rosendahl
2020-09-25 21:25 ` Willi Egger
0 siblings, 2 replies; 4+ messages in thread
From: Mikael Sundqvist @ 2020-09-25 5:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1910 bytes --]
Hi,
I got help from the list, and in the end I did the following (I have
ConTeXt installed in $HOME/ConTeXt-lmtx/). I hope it is complete.
ln -s
$HOME/ConTeXt-lmtx/tex/texmf-context/context/data/vscode/extensions/context
$HOME/.vscode/extensions/
Then I added a task file (also essentially found here, I think):
%%% Begin of file $HOME/.config/Code/User/tasks.json
{
"name" : "context",
"tasks" : [
{
"label": "ConTeXt LuaMetaTeX",
"type": "shell",
"command": "export
PATH=$HOME/ConTeXt-lmtx/tex/texmf-linux-64/bin/:$PATH;mtxrun --autogenerate
--script context '${file}'",
"args": [],
"options": {
"cwd": "${fileDirname}"
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
}
]
}
%%% End of file
Then, in the extension setting inside code, I had to enable the color
scheme for context.
Then it works to compile with ctrl+shift+B.
/Mikael
PS I also have some add-on for LaTeX installed, and for that reason I have
started to use the file extension .mkiv for ConTeXt. Then the add-ons don't
clash.
On Thu, Sep 24, 2020 at 11:30 PM Willi Egger <context@boede.nl> wrote:
> Hello Linux users!
>
> Can somebody tell me how to get the extension for ConTeXt to be installed
> for VisualStudioCode?
>
> Thani you in advance!
> Kind regards
>
> Willi
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 3240 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: VisualStudioCode on Linux
2020-09-25 5:50 ` Mikael Sundqvist
@ 2020-09-25 16:14 ` Arthur Rosendahl
2020-09-25 21:25 ` Willi Egger
1 sibling, 0 replies; 4+ messages in thread
From: Arthur Rosendahl @ 2020-09-25 16:14 UTC (permalink / raw)
To: Mailing list for ConTeXt users
On Fri, Sep 25, 2020 at 07:50:33AM +0200, Mikael Sundqvist wrote:
> I got help from the list, and in the end I did the following (I have
> ConTeXt installed in $HOME/ConTeXt-lmtx/). I hope it is complete.
>
> ln -s
> $HOME/ConTeXt-lmtx/tex/texmf-context/context/data/vscode/extensions/context
> $HOME/.vscode/extensions/
>
> Then I added a task file (also essentially found here, I think):
>
> [snip]
An addition for the wiki? https://wiki.contextgarden.net/Text_Editors
could be a good starting point as it is missing VScode.
Best,
Arthur
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: VisualStudioCode on Linux
2020-09-25 5:50 ` Mikael Sundqvist
2020-09-25 16:14 ` Arthur Rosendahl
@ 2020-09-25 21:25 ` Willi Egger
1 sibling, 0 replies; 4+ messages in thread
From: Willi Egger @ 2020-09-25 21:25 UTC (permalink / raw)
To: NTG-Context ConTeXt users
Hi Mikael,
thank you so much for your instructions and tasks.json!
Indeed it works!
Kind regards
Willi
> On 25 Sep 2020, at 07:50, Mikael Sundqvist <mickep@gmail.com> wrote:
>
> Hi,
>
> I got help from the list, and in the end I did the following (I have ConTeXt installed in $HOME/ConTeXt-lmtx/). I hope it is complete.
>
> ln -s $HOME/ConTeXt-lmtx/tex/texmf-context/context/data/vscode/extensions/context $HOME/.vscode/extensions/
>
> Then I added a task file (also essentially found here, I think):
>
> %%% Begin of file $HOME/.config/Code/User/tasks.json
> {
> "name" : "context",
> "tasks" : [
> {
> "label": "ConTeXt LuaMetaTeX",
> "type": "shell",
> "command": "export PATH=$HOME/ConTeXt-lmtx/tex/texmf-linux-64/bin/:$PATH;mtxrun --autogenerate --script context '${file}'",
> "args": [],
> "options": {
> "cwd": "${fileDirname}"
> },
> "group": {
> "kind": "build",
> "isDefault": true
> },
> "problemMatcher": []
> }
> ]
> }
> %%% End of file
>
> Then, in the extension setting inside code, I had to enable the color scheme for context.
>
> Then it works to compile with ctrl+shift+B.
>
> /Mikael
>
> PS I also have some add-on for LaTeX installed, and for that reason I have started to use the file extension .mkiv for ConTeXt. Then the add-ons don't clash.
>
> On Thu, Sep 24, 2020 at 11:30 PM Willi Egger <context@boede.nl> wrote:
> Hello Linux users!
>
> Can somebody tell me how to get the extension for ConTeXt to be installed for VisualStudioCode?
>
> Thani you in advance!
> Kind regards
>
> Willi
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-09-25 21:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24 21:23 VisualStudioCode on Linux Willi Egger
2020-09-25 5:50 ` Mikael Sundqvist
2020-09-25 16:14 ` Arthur Rosendahl
2020-09-25 21:25 ` Willi Egger
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).