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
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 -----------------------------------------------------------------
Am 2020-01-14 um 20:24 schrieb Hans Hagen
: 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
Am 2020-01-15 um 00:56 schrieb Floris van Manen
: 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
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
On 2020-01-21, Sébastien Wilmet
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
On 2020-01-21, Sébastien Wilmet
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?
On 1/21/2020 3:20 PM, Nicola wrote: 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 -----------------------------------------------------------------
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
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
participants (6)
-
Floris van Manen
-
Hans Hagen
-
Henning Hraban Ramm
-
Henning Hraban Ramm
-
Nicola
-
Sébastien Wilmet