ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ConTeXt support for Atom
@ 2020-01-14 18:32 Henning Hraban Ramm
  2020-01-14 19:24 ` Hans Hagen
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Henning Hraban Ramm @ 2020-01-14 18:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,
is someone beside me using the Atom IDE?
Then have a look at my enhanced syntax highlighter:
https://github.com/fiee/language-context

It’s still work in progress, but I use it every day.

It’s a fork of the outdated package of the same name, not yet available via the usual channels, but since upstream didn’t react to my pull requests, maybe I’ll publish it under a different name.


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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] 9+ messages in thread

* Re: ConTeXt support for Atom
  2020-01-14 18:32 ConTeXt support for Atom Henning Hraban Ramm
@ 2020-01-14 19:24 ` Hans Hagen
  2020-01-14 21:08   ` Henning Hraban Ramm
  2020-01-14 23:56 ` Floris van Manen
  2020-01-21 11:00 ` ConTeXt support for Atom or other text editors Sébastien Wilmet
  2 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2020-01-14 19:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Henning Hraban Ramm

On 1/14/2020 7:32 PM, Henning Hraban Ramm wrote:
> Hi,
> is someone beside me using the Atom IDE?
> Then have a look at my enhanced syntax highlighter:
> https://github.com/fiee/language-context
> 
> It’s still work in progress, but I use it every day.
> 
> It’s a fork of the outdated package of the same name, not yet available via the usual channels, but since upstream didn’t react to my pull requests, maybe I’ll publish it under a different name.
Isn't that the same basic editor as vscode? If so, the context 
distribution contains grammars that you can look at.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 9+ messages in thread

* Re: ConTeXt support for Atom
  2020-01-14 19:24 ` Hans Hagen
@ 2020-01-14 21:08   ` Henning Hraban Ramm
  0 siblings, 0 replies; 9+ messages in thread
From: Henning Hraban Ramm @ 2020-01-14 21:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 2020-01-14 um 20:24 schrieb Hans Hagen <j.hagen@xs4all.nl>:
> 
> On 1/14/2020 7:32 PM, Henning Hraban Ramm wrote:
>> Hi,
>> is someone beside me using the Atom IDE?
>> Then have a look at my enhanced syntax highlighter:
>> https://github.com/fiee/language-context
>> It’s still work in progress, but I use it every day.
>> It’s a fork of the outdated package of the same name, not yet available via the usual channels, but since upstream didn’t react to my pull requests, maybe I’ll publish it under a different name.
> Isn't that the same basic editor as vscode? If so, the context distribution contains grammars that you can look at.

The framework is the same, but the editor component is completely different, and so is the package/plugin setup.

I tried vscodium only shortly, it might become a perspective, but I’m used to and generally satisfied with Atom.

Your setup looks much more extensive than mine. I just converted the ConTeXt interface xml into Atom cson snippets and added links to the command reference in the wiki, also a few comments (that should better go into the xmls…).
The description at the repository is still from the predecessor, I need to change that.
So there’s no run command or something like Atom-LaTeX (that runs latexmk, includes a PDF viewer and interprets the log – I enjoy that when working with LaTeX, so I don’t need to use TeXstudio or the like). Atom’s git interface is more important for me than perfect TeX support.

Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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] 9+ messages in thread

* Re: ConTeXt support for Atom
  2020-01-14 18:32 ConTeXt support for Atom Henning Hraban Ramm
  2020-01-14 19:24 ` Hans Hagen
@ 2020-01-14 23:56 ` Floris van Manen
  2020-01-15  6:32   ` Henning Hraban Ramm
  2020-01-21 11:00 ` ConTeXt support for Atom or other text editors Sébastien Wilmet
  2 siblings, 1 reply; 9+ messages in thread
From: Floris van Manen @ 2020-01-14 23:56 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 290 bytes --]



On 14-01-2020 19:32, Henning Hraban Ramm wrote:
> It’s still work in progress, but I use it every day.

what are the key shortcuts to compile the context file at hand?
i try the atom editor on Linux platform.
Can't find the way to feed the tex file into context luatex...

.F

[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 2497 bytes --]

[-- Attachment #3: 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] 9+ messages in thread

* Re: ConTeXt support for Atom
  2020-01-14 23:56 ` Floris van Manen
@ 2020-01-15  6:32   ` Henning Hraban Ramm
  0 siblings, 0 replies; 9+ messages in thread
From: Henning Hraban Ramm @ 2020-01-15  6:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 2020-01-15 um 00:56 schrieb Floris van Manen <vm@klankschap.nl>:
> 
> On 14-01-2020 19:32, Henning Hraban Ramm wrote:
>> It’s still work in progress, but I use it every day.
> 
> what are the key shortcuts to compile the context file at hand?
> i try the atom editor on Linux platform.
> Can't find the way to feed the tex file into context luatex...

There are no key shortcuts. I use a terminal.
As I wrote:

> So there’s no run command or something like Atom-LaTeX

"language-" packages in Atom are usually only syntax highlighting/completion.

I was thinking about adapting Atom-LaTeX, but it’s probably not worth the effort.

Best, Hraban

___________________________________________________________________________________
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] 9+ messages in thread

* ConTeXt support for Atom or other text editors
  2020-01-14 18:32 ConTeXt support for Atom Henning Hraban Ramm
  2020-01-14 19:24 ` Hans Hagen
  2020-01-14 23:56 ` Floris van Manen
@ 2020-01-21 11:00 ` Sébastien Wilmet
  2020-01-21 14:20   ` Nicola
  2 siblings, 1 reply; 9+ messages in thread
From: Sébastien Wilmet @ 2020-01-21 11:00 UTC (permalink / raw)
  To: ntg-context, Henning Hraban Ramm

Hi,

On Tue, Jan 14, 2020 at 07:32:16PM +0100, Henning Hraban Ramm wrote:
> is someone beside me using the Atom IDE?
> Then have a look at my enhanced syntax highlighter:
> https://github.com/fiee/language-context
> 
> It’s still work in progress, but I use it every day.
> 
> It’s a fork of the outdated package of the same name, not yet available via the usual channels, but since upstream didn’t react to my pull requests, maybe I’ll publish it under a different name.

To have command completion, there is this project that can be used with
various text editors or IDEs that support the language server protocol:
https://github.com/astoff/digestif

I suppose that Atom supports the language server protocol. Digestif has
support for ConTeXt too, not just LaTeX.

With Atom is there spell-checking? Without marking TeX/ConTeXt commands
as misspelled?

-----

I'm actually looking for a text editor on Linux that supports those
three features:
- syntax highlighting
- command completion
- spell-checking

Does it exist? The following wiki page doesn't list spell-checking, and
doesn't list command completion separately from syntax highlighting:
https://wiki.contextgarden.net/Text_Editors

I'm learning a little ConTeXt and I have some struggle to find a text
editor.

Thanks,
Sébastien
___________________________________________________________________________________
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] 9+ messages in thread

* Re: ConTeXt support for Atom or other text editors
  2020-01-21 11:00 ` ConTeXt support for Atom or other text editors Sébastien Wilmet
@ 2020-01-21 14:20   ` Nicola
  2020-01-21 15:14     ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Nicola @ 2020-01-21 14:20 UTC (permalink / raw)
  To: ntg-context

On 2020-01-21, Sébastien Wilmet <foss@swilmet.be> wrote:

> I'm actually looking for a text editor on Linux that supports those
> three features:
> - syntax highlighting
> - command completion
> - spell-checking
>
> Does it exist?

Well, Vim has pretty solid support for ConTeXt (disclaimer: I am
maintaining the ConTeXt plugin distributed with Vim), including the
features you mention and much more:

    https://wiki.contextgarden.net/Vim

But if you have never used Vim, it has a steeper learning curve that
a typical text editor.

On a side note: a difficulty with maintaining syntax highlighting for
ConTeXt is that I had to write my own script to extract ConTeXt-specific
and MetaFun-specific keywords from source code. Is there any way to do
it with ConTeXt?

Nicola


___________________________________________________________________________________
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] 9+ messages in thread

* Re: ConTeXt support for Atom or other text editors
  2020-01-21 14:20   ` Nicola
@ 2020-01-21 15:14     ` Hans Hagen
  2020-01-22 13:17       ` Sébastien Wilmet
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2020-01-21 15:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Nicola

On 1/21/2020 3:20 PM, Nicola wrote:
> On 2020-01-21, Sébastien Wilmet <foss@swilmet.be> wrote:
> 
>> I'm actually looking for a text editor on Linux that supports those
>> three features:
>> - syntax highlighting
>> - command completion
>> - spell-checking
>>
>> Does it exist?
> 
> Well, Vim has pretty solid support for ConTeXt (disclaimer: I am
> maintaining the ConTeXt plugin distributed with Vim), including the
> features you mention and much more:
> 
>      https://wiki.contextgarden.net/Vim
> 
> But if you have never used Vim, it has a steeper learning curve that
> a typical text editor.
> 
> On a side note: a difficulty with maintaining syntax highlighting for
> ConTeXt is that I had to write my own script to extract ConTeXt-specific
> and MetaFun-specific keywords from source code. Is there any way to do
> it with ConTeXt?
there are ways to extract it from the interface specifications ... which 
is done for scite, vscode, ...

(btw, in scite/textadept there is support for syntax support, real time 
spell checking, nested lexing, etc)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 9+ messages in thread

* Re: ConTeXt support for Atom or other text editors
  2020-01-21 15:14     ` Hans Hagen
@ 2020-01-22 13:17       ` Sébastien Wilmet
  0 siblings, 0 replies; 9+ messages in thread
From: Sébastien Wilmet @ 2020-01-22 13:17 UTC (permalink / raw)
  To: ntg-context

On Tue, Jan 21, 2020 at 04:14:53PM +0100, Hans Hagen wrote:
> On 1/21/2020 3:20 PM, Nicola wrote:
> > On 2020-01-21, Sébastien Wilmet <foss@swilmet.be> wrote:
> > > I'm actually looking for a text editor on Linux that supports those
> > > three features:
> > > - syntax highlighting
> > > - command completion
> > > - spell-checking
> > > 
> > > Does it exist?
> > 
> > Well, Vim has pretty solid support for ConTeXt (disclaimer: I am
> > maintaining the ConTeXt plugin distributed with Vim), including the
> > features you mention and much more:
> > 
> >      https://wiki.contextgarden.net/Vim
> > 
> > But if you have never used Vim, it has a steeper learning curve that
> > a typical text editor.
> > 
> 
> (btw, in scite/textadept there is support for syntax support, real time
> spell checking, nested lexing, etc)

I already know Vim, but nowadays I prefer an application that I can just
launch and it just works, out of the box. With Vim I need to read the
docs of plugins, configure the plugins, remember what are the keyboard
shortcuts for spell-checking, etc. I should maybe try GVim instead of
using Vim in a terminal. Or Neovim.

I've tried to install scite and textadept, but on Linux it's a bit
difficult with Scintillua. And I'm not sure that command completion is
supported.

BTW I'm the author of GNOME LaTeX ;-)
https://wiki.gnome.org/Apps/GNOME-LaTeX
(this text editor supports only LaTeX, unfortunalety). If I have the
time I would like to implement a new text editor specialized for TeX and
ConTeXt.

Sébastien
___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2020-01-22 13:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-14 18:32 ConTeXt support for Atom Henning Hraban Ramm
2020-01-14 19:24 ` Hans Hagen
2020-01-14 21:08   ` Henning Hraban Ramm
2020-01-14 23:56 ` Floris van Manen
2020-01-15  6:32   ` Henning Hraban Ramm
2020-01-21 11:00 ` ConTeXt support for Atom or other text editors Sébastien Wilmet
2020-01-21 14:20   ` Nicola
2020-01-21 15:14     ` Hans Hagen
2020-01-22 13:17       ` Sébastien Wilmet

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).