Difference between revisions of "Text Editors"

From Wiki
Jump to navigation Jump to search
(Added Sublime Text & moved Features/OSs block to the top.)
(Added the Nova text editor)
 
(21 intermediate revisions by 9 users not shown)
Line 1: Line 1:
< [[Main Page]] | [[Related Programs]] >
+
__NOTOC__
 +
You can use any text editor that can save text files in UTF-8 for creating a input file for ConTeXt. Many editors provide generic TeX syntax highlighting, but some have even more support for ConTeXt.
  
You can use any text editor that can save text files in UTF-8 for creating a source file for ConTeXt.
+
= Integrating text editors with ConTeXt =
Many editors provide generic TeX syntax highlighting, but some have even more support for ConTeXt.
+
 
 +
* [[BBEdit]]
 +
* [[CudaText]]
 +
* [[ConTeXt-on-web]] (COW)
 +
* Emacs
 +
** [[AUCTeX|AUCTeX]]
 +
** [[Emacs-muse|muse]]
 +
** [[Reftex|Reftex]]
 +
* [[ITeXMac]]
 +
* [[Notepad++]]
 +
* [[Nova]]
 +
* [[Scite]] ([[Windows Installation: ConTeXt Suite with SciTe]])
 +
* [[TeXnicCenter]]
 +
* [[Texpad]]
 +
* [[TeXShop]]
 +
* [[Textadept]]
 +
* [[TextMate]]
 +
* [[TeXworks]]
 +
* [[Vim]]
 +
* [[VSCode]]
 +
 
 +
== Setting up source synchronisation ==
 +
 
 +
* [[SyncTeX]]
 +
 
 +
= Text editors =
 +
 
 +
'''Beware''', for several editors, syntax highlighting wasn’t changed since MkII!
  
 
{|
 
{|
Line 33: Line 61:
 
{|
 
{|
 
|- style="text-align:left;background:#cccccc;"
 
|- style="text-align:left;background:#cccccc;"
! Editor !! Features !! OSes !! Remarks  
+
! Editor !! Features !! OSes !! Latest Release !! Remarks  
 
|-
 
|-
 
| [https://atom.io Atom]
 
| [https://atom.io Atom]
| CSP || LMW  
+
| CSP || LMW || deprecated in 2022
| The new text editor for the kool kids, based on Electron. Good git client. Lots of plugins covering any editing task. Install plugins "language-context" and "pdf-view" for C and P.
+
| Replaced by [https://pulsar-edit.dev Pulsar]; see below.
 
|- style="background:#eeeeee;"
 
|- style="background:#eeeeee;"
 
| [http://www.barebones.com/products/bbedit/ BBEdit]
 
| [http://www.barebones.com/products/bbedit/ BBEdit]
| CSTP || M  
+
| CSTP || M || 2023
| Venerable, powerful text editor for MacOS. Highlighting, section navigation, and code folding available through a [https://github.com/pmazaitis/ConTeXtBBLM/releases language module]; typesetting and PDF preview available through an [http://dflect.net/context-typeset-tool/ external script].  
+
| Venerable, powerful text editor for MacOS. Highlighting, section navigation, and code folding available through a [https://github.com/pmazaitis/ConTeXtBBLM/releases language module]; typesetting and PDF preview available through an [http://dflect.net/context-typeset-tool/ external script].
|-
+
|-
 +
| [https://www.microsoft.com/p/context-ide/9nn9q389ttjr ConTeXt IDE]
 +
| CP || W || 2022
 +
| The first self-contained IDE for ConTeXt. After a few button presses you can start writing, compiling and viewing. There are some templates provided for new users. It’s a Windows 10 app with 'fluent design' GUI. The editor is based on monaco-editor and the PDF viewer is based on PDF.js.
 +
|- style="background:#eeeeee;"
 +
| [https://context-on-web.eu ConTeXt On Web] (COW)
 +
| CPT || Browser || 2022
 +
| Online IDE with layout and table wizards.
 +
|-  
 
| [http://www.emacswiki.org/cgi-bin/wiki Emacs] with [http://www.gnu.org/software/auctex/ AUCTeX]  
 
| [http://www.emacswiki.org/cgi-bin/wiki Emacs] with [http://www.gnu.org/software/auctex/ AUCTeX]  
| CT || LMW  
+
| CT || LMW || 2022
 
| Extremely powerful & highly configurable text editor for CTRL- and ALT- key lovers.<br>The official AUCTeX distribution beginning with 11.50 has ConTeXt support. Further [[AUCTeX]] customization for ConTeXt. <br>If you write documents with bibliographies, indexes, or cross-references, you may also be interested in [[Reftex|using Reftex]]. There is also [[Emacs-muse]] which is an extension.
 
| Extremely powerful & highly configurable text editor for CTRL- and ALT- key lovers.<br>The official AUCTeX distribution beginning with 11.50 has ConTeXt support. Further [[AUCTeX]] customization for ConTeXt. <br>If you write documents with bibliographies, indexes, or cross-references, you may also be interested in [[Reftex|using Reftex]]. There is also [[Emacs-muse]] which is an extension.
 
|- style="background:#eeeeee;"
 
|- style="background:#eeeeee;"
 
| [https://wiki.gnome.org/Apps/Gedit gedit]  
 
| [https://wiki.gnome.org/Apps/Gedit gedit]  
| || L(MW)  
+
| || L(MW) || 2023
| GNOME editor  
+
| GNOME editor (MATE fork: Pluma); also install the plugins!
 
|-
 
|-
 
| [http://www.jedit.org jEdit]
 
| [http://www.jedit.org jEdit]
| || LMW  
+
| || LMW || 2020
| Cross-platform mature programmer’s text editor. Good support for TeX and LilyPond among the rest.
+
| Cross-platform mature programmer’s text editor. Good support for TeX (formerly also LilyPond) among the rest.
 
|- style="background:#eeeeee;"
 
|- style="background:#eeeeee;"
 
| [http://kate-editor.org Kate]  
 
| [http://kate-editor.org Kate]  
| C || L(MW)
+
| C || LMW || 2023
<td> Kate is an advanced multi-document text editor for KDE. It has built-in LaTeX syntax highlighting, but you can install a [http://kde-files.org/content/show.php/ConTeXt+-+Syntax+Highlighting?content=54006 file that provides ConTeXt syntax
+
| IDE for KDE.
highlight].
+
|-  
|-
 
 
| [http://www.nano-editor.org/ nano]  
 
| [http://www.nano-editor.org/ nano]  
| || L(MW)  
+
| || L(MW) || 2023
 
| Curses-based text editor for Unix and Unix-like systems, designed to be a free replacement for the Pico text editor. Has basic TeX syntax highlighting.  
 
| Curses-based text editor for Unix and Unix-like systems, designed to be a free replacement for the Pico text editor. Has basic TeX syntax highlighting.  
 
|- style="background:#eeeeee;"
 
|- style="background:#eeeeee;"
 
| [[Notepad++]]  
 
| [[Notepad++]]  
| CT<sup>?</sup>2 || W  
+
| CT<sup>?</sup>2 || W || 2023
 
| Npp is one of the most powerful and useful text editors on Windows (you can also use it under Wine). Modern interface with loads of included features (see especially the TextFX menu). ConTeXt support files come with the ConTeXt distribution in directory <tt>texmf-context/context/data/npp</tt>.
 
| Npp is one of the most powerful and useful text editors on Windows (you can also use it under Wine). Modern interface with loads of included features (see especially the TextFX menu). ConTeXt support files come with the ConTeXt distribution in directory <tt>texmf-context/context/data/npp</tt>.
 
|-
 
|-
| [[Scite]]
+
| [[Nova]]
| CT || L(M)W  
+
| CPT || M || 2023
| ConTeXt support files come with the ConTeXt distribution in directory <tt>texmf-context/context/data/scite</tt>. See also the [http://www.pragma-ade.com/general/manuals/mscite-s.pdf manual mscite.pdf]. SciTE for Mac is commercial (AppStore).  
+
| Nova is a capable commercial text editor by Panic for MacOS. The editor supports a good set of general text editing features, with additional functionality provided by extensions. A git client, terminal handling, preview, and simple IDE are built in.
 +
|- style="background:#eeeeee;"
 +
| [https://pulsar-edit.dev Pulsar]
 +
| CSP || LMW || 2023
 +
| Fork of [https://atom.io Atom]; based on Electron. Good git client. Lots of plugins covering any editing task. Install plugins "[https://codeberg.org/fiee/language-context language-context]", "language-lua" and "pdf-view" for C and P.
 +
|-
 +
| '''[[Scite|SciTE]]'''
 +
| CT || L(M)W || 2023
 +
| Used to be the "official" ConTeXt editor ([http://www.pragma-ade.nl/general/manuals/scite-context-readme.pdf more info]). ConTeXt support files come with the ConTeXt distribution in directory <tt>texmf-context/context/data/scite</tt>. SciTE for Mac is commercial (AppStore). (After API changes, the setup doesn’t work any more.)
 
|- style="background:#eeeeee;"
 
|- style="background:#eeeeee;"
 
| [https://www.peterborgapps.com/smultron/ Smultron]
 
| [https://www.peterborgapps.com/smultron/ Smultron]
| PTU || M  
+
| PTU || M || 2022
 
| Shareware. [[ConTeXt_Minimals/Mac_Installation#Smultron_installation_and_configuration|Old configuration instructions]].
 
| Shareware. [[ConTeXt_Minimals/Mac_Installation#Smultron_installation_and_configuration|Old configuration instructions]].
|-
+
|-  
 
| [https://www.sublimetext.com/ Sublime Text]
 
| [https://www.sublimetext.com/ Sublime Text]
| CT2 || LMW  
+
| CT2 || LMW || 2021
| Uncluttered yet extremely powerful & widely revered text editor. With Package Control, install the vital [https://packagecontrol.io/packages/simple_ConTeXt simple_ConTeXt] package.
+
| Uncluttered yet extremely powerful & widely revered text editor. With Package Control, install the vital [https://packagecontrol.io/packages/simple_ConTeXt simple_ConTeXt] package (discontinued, not available anymore as of 2021-11; see [[CudaText]] for its successor).
 
|- style="background:#eeeeee;"
 
|- style="background:#eeeeee;"
 
| [https://projects.eclipse.org/projects/science.texlipse/ TeXlipse]  
 
| [https://projects.eclipse.org/projects/science.texlipse/ TeXlipse]  
| PS<sup>?</sup>T || LMW  
+
| PS<sup>?</sup>T || LMW || 2020
 
| LaTeX-Extension for Eclipse (part of Eclipse Science)
 
| LaTeX-Extension for Eclipse (part of Eclipse Science)
|-
+
|-  
 
| [http://www.uoregon.edu/~koch/texshop/ TeXshop]  
 
| [http://www.uoregon.edu/~koch/texshop/ TeXshop]  
| PT || M  
+
| PT || M || 2023
| Simple TeX IDE for OSX. [[ConTeXt_Minimals/Mac_Installation#TeXShop_installation_and_configuration|Old Configuration instructions]]  
+
| Simple TeX IDE for OSX. [[TeXShop]]  
 
|- style="background:#eeeeee;"
 
|- style="background:#eeeeee;"
 
| [https://www.texstudio.org/ TeXstudio]  
 
| [https://www.texstudio.org/ TeXstudio]  
| PST || LMW  
+
| PST || LMW || 2023
| Extensive, memory-hungry LaTeX IDE. Too LaTeX-centered to be really helpful for ConTeXt.
+
| Extensive LaTeX IDE. Too LaTeX-centered to be really helpful for ConTeXt.
|-
+
|-  
 
| [[Textadept]]
 
| [[Textadept]]
| CT || LMW  
+
| CT || LMW || 2023
| ConTeXt support files come with the ConTeXt distribution in directory <tt>texmf-context/context/data/textadept</tt>.
+
| ConTeXt support files come with the ConTeXt distribution in directory <tt>texmf-context/context/data/textadept</tt>. (Might not work any more, similar problem as with SciTE.)
 
|- style="background:#eeeeee;"
 
|- style="background:#eeeeee;"
 
| [[TextMate]]  
 
| [[TextMate]]  
| C || M  
+
| C || M || 2014?
| The ConTeXt bundle is not in the distribution, but you can download a copy from [https://github.com/pgundlach/context.tmbundle/ GitHub].  
+
| The ConTeXt bundle is outdated and not in the distribution, but you can download a copy from [https://github.com/pgundlach/context.tmbundle/ GitHub].  
|-
+
|-  
 
| [http://www.textpad.com/ TextPad]
 
| [http://www.textpad.com/ TextPad]
| CT || W  
+
| CT || W || 2023
 
| Commercial; TeX/ConTeXt/LaTeX command library; configurable to run a whatever-TeX command as a tool
 
| Commercial; TeX/ConTeXt/LaTeX command library; configurable to run a whatever-TeX command as a tool
 
|- style="background:#eeeeee;"
 
|- style="background:#eeeeee;"
 
| [http://www.tug.org/texworks/ TeXWorks]
 
| [http://www.tug.org/texworks/ TeXWorks]
| PST || LMW  
+
| PST || LMW || 2023
 
| Probably the most widespread TeX IDE, similar to TeXshop, supported by TUG. ConTeXt support files come with the ConTeXt distribution in directory <tt>texmf-context/context/data/texworks</tt>.
 
| Probably the most widespread TeX IDE, similar to TeXshop, supported by TUG. ConTeXt support files come with the ConTeXt distribution in directory <tt>texmf-context/context/data/texworks</tt>.
|-
+
|-  
 
| [[Vim]]  
 
| [[Vim]]  
| CT2 || LMW  
+
| CT2 || LMW || 2022
<td> Extremely powerful & highly configurable text editor. It operates in different "modes": you type in text in "insert mode" and pass commands to the editor in "normal mode." Whether you prefer Vim or emacs is a religious question of the highest
+
| Extremely powerful & highly configurable text editor. It operates in different "modes": you type in text in "insert mode" and pass commands to the editor in "normal mode." Whether you prefer Vim or emacs is a religious question of the highest importance. ConTeXt support is good.
importance.</td>
 
 
|- style="background:#eeeeee;"
 
|- style="background:#eeeeee;"
 +
| [[VSCode|Visual Studio Code]] / [https://vscodium.com VSCodium]
 +
| C || WML || 2023
 +
| Universal IDE, based on Electron. Usable Git client, lots of plugins. ConTeXt syntax support in the distribution; language server still in development.
 +
|-
 
| [http://www.winedt.com/ WinEdt]
 
| [http://www.winedt.com/ WinEdt]
| T || W  
+
| T || W || 2023
<td>Shareware. A nice, configurable Windows editor for LaTeX. A large collection of buttons with Greek letters and other (math) symbols is very helpfulp when typesetting math. It also has spell checker. LaTeX users can also find many templates
+
| Shareware. A nice, configurable Windows editor for LaTeX. A large collection of buttons with Greek letters and other (math) symbols is very helpfulp when typesetting math. It also has spell checker. LaTeX users can also find many templates (tables, enumerations, ...) and compiling/previewing the documents by clicking a button. This is supported for ConTeXt also. You can configure it easily.
(tables, enumerations, ...) and compiling/previewing the documents by clicking a button. This is supported for ConTeXt also. You can configure it easily.</td>
 
 
|}
 
|}
 +
 +
[[Category:Text Editors]]

Latest revision as of 18:49, 11 November 2023

You can use any text editor that can save text files in UTF-8 for creating a input file for ConTeXt. Many editors provide generic TeX syntax highlighting, but some have even more support for ConTeXt.

Integrating text editors with ConTeXt

Setting up source synchronisation

Text editors

Beware, for several editors, syntax highlighting wasn’t changed since MkII!

Features
C: ConTeXt syntax highlighting (and perhaps command completion)
P: PDF preview
S: SyncTeX support (synchronising between text in PDF and TeX source)
T: ConTeXt typesetting
2: bidirectional editing (right-to-left)
_?: previous feature probable but unsure
OSes
L: Linux
M: MacOS
W: Windows
Editor Features OSes Latest Release Remarks
Atom CSP LMW deprecated in 2022 Replaced by Pulsar; see below.
BBEdit CSTP M 2023 Venerable, powerful text editor for MacOS. Highlighting, section navigation, and code folding available through a language module; typesetting and PDF preview available through an external script.
ConTeXt IDE CP W 2022 The first self-contained IDE for ConTeXt. After a few button presses you can start writing, compiling and viewing. There are some templates provided for new users. It’s a Windows 10 app with 'fluent design' GUI. The editor is based on monaco-editor and the PDF viewer is based on PDF.js.
ConTeXt On Web (COW) CPT Browser 2022 Online IDE with layout and table wizards.
Emacs with AUCTeX CT LMW 2022 Extremely powerful & highly configurable text editor for CTRL- and ALT- key lovers.
The official AUCTeX distribution beginning with 11.50 has ConTeXt support. Further AUCTeX customization for ConTeXt.
If you write documents with bibliographies, indexes, or cross-references, you may also be interested in using Reftex. There is also Emacs-muse which is an extension.
gedit L(MW) 2023 GNOME editor (MATE fork: Pluma); also install the plugins!
jEdit LMW 2020 Cross-platform mature programmer’s text editor. Good support for TeX (formerly also LilyPond) among the rest.
Kate C LMW 2023 IDE for KDE.
nano L(MW) 2023 Curses-based text editor for Unix and Unix-like systems, designed to be a free replacement for the Pico text editor. Has basic TeX syntax highlighting.
Notepad++ CT?2 W 2023 Npp is one of the most powerful and useful text editors on Windows (you can also use it under Wine). Modern interface with loads of included features (see especially the TextFX menu). ConTeXt support files come with the ConTeXt distribution in directory texmf-context/context/data/npp.
Nova CPT M 2023 Nova is a capable commercial text editor by Panic for MacOS. The editor supports a good set of general text editing features, with additional functionality provided by extensions. A git client, terminal handling, preview, and simple IDE are built in.
Pulsar CSP LMW 2023 Fork of Atom; based on Electron. Good git client. Lots of plugins covering any editing task. Install plugins "language-context", "language-lua" and "pdf-view" for C and P.
SciTE CT L(M)W 2023 Used to be the "official" ConTeXt editor (more info). ConTeXt support files come with the ConTeXt distribution in directory texmf-context/context/data/scite. SciTE for Mac is commercial (AppStore). (After API changes, the setup doesn’t work any more.)
Smultron PTU M 2022 Shareware. Old configuration instructions.
Sublime Text CT2 LMW 2021 Uncluttered yet extremely powerful & widely revered text editor. With Package Control, install the vital simple_ConTeXt package (discontinued, not available anymore as of 2021-11; see CudaText for its successor).
TeXlipse PS?T LMW 2020 LaTeX-Extension for Eclipse (part of Eclipse Science)
TeXshop PT M 2023 Simple TeX IDE for OSX. TeXShop
TeXstudio PST LMW 2023 Extensive LaTeX IDE. Too LaTeX-centered to be really helpful for ConTeXt.
Textadept CT LMW 2023 ConTeXt support files come with the ConTeXt distribution in directory texmf-context/context/data/textadept. (Might not work any more, similar problem as with SciTE.)
TextMate C M 2014? The ConTeXt bundle is outdated and not in the distribution, but you can download a copy from GitHub.
TextPad CT W 2023 Commercial; TeX/ConTeXt/LaTeX command library; configurable to run a whatever-TeX command as a tool
TeXWorks PST LMW 2023 Probably the most widespread TeX IDE, similar to TeXshop, supported by TUG. ConTeXt support files come with the ConTeXt distribution in directory texmf-context/context/data/texworks.
Vim CT2 LMW 2022 Extremely powerful & highly configurable text editor. It operates in different "modes": you type in text in "insert mode" and pass commands to the editor in "normal mode." Whether you prefer Vim or emacs is a religious question of the highest importance. ConTeXt support is good.
Visual Studio Code / VSCodium C WML 2023 Universal IDE, based on Electron. Usable Git client, lots of plugins. ConTeXt syntax support in the distribution; language server still in development.
WinEdt T W 2023 Shareware. A nice, configurable Windows editor for LaTeX. A large collection of buttons with Greek letters and other (math) symbols is very helpfulp when typesetting math. It also has spell checker. LaTeX users can also find many templates (tables, enumerations, ...) and compiling/previewing the documents by clicking a button. This is supported for ConTeXt also. You can configure it easily.