From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108186 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lutz Haseloff Newsgroups: gmane.comp.tex.context Subject: Re: Installing VSCode extension? Date: Thu, 30 Jul 2020 08:32:32 +0200 Message-ID: <6FA6080A-5E38-4584-8771-BD8E8299BB1E@toppkieker.info> References: <61d9f861-b8c4-da48-0a9f-88abd19c5b08@xs4all.nl> <98BF78F2-3133-4A87-A05B-4C229269D0F4@fiee.net> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2824577330448480523==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30110"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 30 08:36:12 2020 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 1k12Am-0007gG-6n for gctc-ntg-context-518@m.gmane-mx.org; Thu, 30 Jul 2020 08:36:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EBBD81A7889; Thu, 30 Jul 2020 08:35:42 +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 qdIfC4CcyY2D; Thu, 30 Jul 2020 08:35:40 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C287F1A7881; Thu, 30 Jul 2020 08:35:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EB9041A7881 for ; Thu, 30 Jul 2020 08:35:39 +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 rIxdri51KeBT for ; Thu, 30 Jul 2020 08:35:38 +0200 (CEST) Received-SPF: Pass (helo) identity=helo; client-ip=81.169.146.160; helo=mo4-p00-ob.smtp.rzone.de; envelope-from=lutz.haseloff@toppkieker.info; receiver= X-Greylist: delayed 184 seconds by postgrey-1.36 at zapf.ntg.nl; Thu, 30 Jul 2020 08:35:38 CEST Original-Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.160]) (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 BAABE1A7880 for ; Thu, 30 Jul 2020 08:35:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1596090938; s=strato-dkim-0002; d=toppkieker.info; h=Message-ID:From:To:Subject:References:In-Reply-To:Date: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=f38zGGLsYouGcWJAU338nmGmszdwBTjXWz/UXLi026k=; b=okj1rsL6OyzCYJPTi2yNZWF6qZ+v5s7XGkTyAhK08Bc2F/nLngBtV3HuPxTAAMWmsU EYk8emySbqTrlCV4N2f/KvRvrO5MC514D2w5TEDhS4RySQhZb+VBb5qFvzBEiwos/lwc 2JA7RgduiB0Sp0xGb+HWo9l7PneGyZJtyJvg+gYevnsPkyBks5dGavDLJej/cHAH2+m8 9vizBmtsKK4AytN46zxW3FAH1U5RhzDEfHG00CW3OfXP/xbiUTx8qOc+QcZKf5MfMT00 oTszflxbt0GOpZtXbHXtSkWtyzkisZmTRjSO5TydVIsLLjF0H/w+c3KI7FUfwIxtTuFV 6TbA== X-RZG-AUTH: ":IHkQbw6geuzPHokbjwREyaVCwUnRg4l4M61DnCKQiup5oU3VJYnTARnVQHs13opOadubsd7P5BxqdZk=" X-RZG-CLASS-ID: mo00 Original-Received: from [192.168.0.30] by smtp.strato.de (RZmta 46.10.5 AUTH) with ESMTPSA id R06104w6U6WXEI4 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Thu, 30 Jul 2020 08:32:33 +0200 (CEST) In-Reply-To: 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:108186 Archived-At: --===============2824577330448480523== Content-Type: multipart/alternative; boundary="----MWGDM09H0JJKOLRTJ0SI15WQ9HZHOL" Content-Transfer-Encoding: 7bit ------MWGDM09H0JJKOLRTJ0SI15WQ9HZHOL Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Alasdair, i fiddled with SciTE some years ago and ended with a file myproperties=2Ep= roperties in the programdata\scite directory=2E In this file i set the fonts and my context command as follows: ---- # Codepages # UTF-8 code=2Epage=3D65001 output=2Ecode=2Epage=3D65001 # Byte # code=2Epage=3D0 position=2Eleft=3D25 position=2Etop=3D25 position=2Ewidth=3D1870 position=2Eheight=3D1000 font=2Ebase=3Dfont:Consolas,size:15 font=2Emonospace=3D$(font=2Ebase) font=2Eerrorfont=3D$(font=2Ebase) font=2Ecomment=3D$(font=2Ebase) font=2Etext=3D$(font=2Ebase) font=2Etext=2Ecomment=3D$(font=2Ebase) font=2Eembedded=2Ebase=3D$(font=2Ebase) font=2Eembedded=2Ecomment=3D$(font=2Ebase) font=2Evbs=3D$(font=2Ebase) command=2E1=2E$(file=2Epatterns=2Econtext)=3Dcmd /c context $(FileNameExt)= && start sumatraPDF $(FileName)=2Epdf -reuse-instance ---- The last line of SciTEGlobal=2Eproperties is import myproperties This works ok for me=2E Greetings Lutz Am 30=2E Juli 2020 03:57:26 MESZ schrieb Alasdair McAndrew : >Thanks again, I've fiddled with SciTE, but when I attempted to compile >a >context file, I was told that "texexec" wasn't in my path, so somehow, >somewhere, I must have picked up an old version of the compile command=2E >Also, there doesn't seem to be an easy way of getting SciTE to use a >monospaced font=2E I've fiddled with the customization files to no avail >whatsoever=2E I think I have Atom already, but surely there should be >some >easy way of getting other text editors working? > >On Thu, Jul 30, 2020 at 1:13 AM Henning Hraban Ramm >wrote: > >> >> > Am 29=2E07=2E2020 um 14:19 schrieb Alasdair McAndrew >: >> > >> > Thank you very much, but in fact that script file >"vscode-context=2Ecmd" >> really just contains the same command for installing extensions as I >quoted >> above - and so produces the same errors=2E Maybe I'll go back to >trying >> SciTe - I gave it a bit of a go, but wasn't successful=2E Of all the >> information on the context-wiki, and the Pragma webpage - where would >I go >> to find the most up-to-date information about configuring an editor >to work >> with ConTeXt in Windows? >> >> You could try Atom and install the ConTeXt module from >> github=2Ecom/massifrg/language-context=2E >> Original language-context is outdated, but upstream didn=E2=80=99t reac= t to >mails >> from Massi and me=2E >> This version also isn=E2=80=99t perfect, but I=E2=80=99m using and occa= sionally >updating >> it=2E (I should re-base it on the current work done for the wiki=2E) >There=E2=80=99s >> also still no run command=2E >> >> Additionally you should install >> - language-latex (contains plain TeX commands) >> - language-lua >> - atom-ide-terminal (for running ConTeXt in place) >> - file-icons (only icon package that contains TeX icons) >> - pdf-view (not very good, but good enough for simple cases) >> >> Best, Hraban >> >> >> >_________________________________________________________________________= __________ >> If your question is of interest to others as well, please add an >entry to >> the Wiki! >> >> maillist : ntg-context@ntg=2Enl / >> http://www=2Entg=2Enl/mailman/listinfo/ntg-context >> webpage : http://www=2Epragma-ade=2Enl / http://context=2Eaanhet=2Enet >> archive : https://bitbucket=2Eorg/phg/context-mirror/commits/ >> wiki : http://contextgarden=2Enet >> >> >_________________________________________________________________________= __________ >> > > >--=20 >https://numbersandshapes=2Enet ------MWGDM09H0JJKOLRTJ0SI15WQ9HZHOL Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Alasdair,

i fiddled with SciTE some year= s ago and ended with a file myproperties=2Eproperties in the programdata\sc= ite directory=2E

In this file i set the fonts and my context command= as follows:
# Codepages
# UTF-8
code=2Epage=3D65001
output=2Ec= ode=2Epage=3D65001
# Byte
# code=2Epage=3D0

position=2Eleft=3D= 25
position=2Etop=3D25
position=2Ewidth=3D1870
position=2Eheight= =3D1000

font=2Ebase=3Dfont:Consolas,size:15
font=2Emonospace=3D$(= font=2Ebase)
font=2Eerrorfont=3D$(font=2Ebase)
font=2Ecomment=3D$(fon= t=2Ebase)
font=2Etext=3D$(font=2Ebase)
font=2Etext=2Ecomment=3D$(font= =2Ebase)
font=2Eembedded=2Ebase=3D$(font=2Ebase)
font=2Eembedded=2Eco= mment=3D$(font=2Ebase)
font=2Evbs=3D$(font=2Ebase)

command=2E1=2E= $(file=2Epatterns=2Econtext)=3Dcmd /c context $(FileNameExt) && sta= rt sumatraPDF $(FileName)=2Epdf -reuse-instance
The last line of SciTEGl= obal=2Eproperties is
import myproperties

This works ok for me=2E<= br>

Greetings Lutz

Am 30=2E Juli 2= 020 03:57:26 MESZ schrieb Alasdair McAndrew <amca01@gmail=2Ecom>:
Thanks again, I've fiddled with SciTE, but when I attempt= ed to compile a context file, I was told that "texexec" wasn't in my path, = so somehow, somewhere, I must have picked up an old version of the com= pile command=2E  Also, there doesn't seem to be an easy way of getting= SciTE to use a monospaced font=2E  I've fiddled with the customizatio= n files to no avail whatsoever=2E  I think I have Atom already, but su= rely there should be some easy way of getting other text editors working?&n= bsp; 

On Thu, Jul 30, 2020 at 1:13 AM Henning Hraban Ramm <texml@fiee=2Enet> wrote:

> Am 29=2E07=2E2020 um 14:19 schrieb Alasdair McAndrew <amca01@gmail=2Ecom>:
>
> Thank you very much, but in fact that script file "vscode-context=2Ec= md" really just contains the same command for installing extensions as I qu= oted above - and so produces the same errors=2E  Maybe I'll go back to= trying SciTe - I gave it a bit of a go, but wasn't successful=2E  Of = all the information on the context-wiki, and the Pragma webpage - where wou= ld I go to find the most up-to-date information about configuring an editor= to work with ConTeXt in Windows?

You could try Atom and install the ConTeXt module from github=2Ecom/massifrg/language-context=2E
Original language-context is outdated, but upstream didn=E2=80=99t react t= o mails from Massi and me=2E
This version also isn=E2=80=99t perfect, but I=E2=80=99m using and occasio= nally updating it=2E (I should re-base it on the current work done for the = wiki=2E) There=E2=80=99s also still no run command=2E

Additionally you should install
- language-latex (contains plain TeX commands)
- language-lua
- atom-ide-terminal (for running ConTeXt in place)
- file-icons (only icon package that contains TeX icons)
- pdf-view (not very good, but good enough for simple cases)

Best, Hraban

__________________________________________________________________________= _________
If your question is of interest to others as well, please add an entry to = the Wiki!

maillist : ntg-c= ontext@ntg=2Enl / http://www=2Entg=2Enl/mailma= n/listinfo/ntg-context
webpage  : http://www=2Epragma-ade=2Enl / http://context= =2Eaanhet=2Enet
archive  : https://bitbucket=2Eorg/phg/cont= ext-mirror/commits/
wiki     : http://contextgarden=2Enet
__________________________________________________________________________= _________


--
------MWGDM09H0JJKOLRTJ0SI15WQ9HZHOL-- --===============2824577330448480523== 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== --===============2824577330448480523==--