Difference between revisions of "Text Editors"

From Wiki
Jump to navigation Jump to search
(Added BBEdit)
(14 intermediate revisions by 5 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.
 
  
<table>
+
* [[BBEdit]]
<tr style="background:#cccccc;">
+
* Emacs
<td> Editor </td>
+
** [[AUCTeX|AUCTeX]]
<td> Features </td>
+
** [[Emacs-muse|muse]]
<td> OSs </td>
+
** [[Reftex|Reftex]]
<td> Remarks </td>
+
* [[ITeXMac]]
</tr>
+
* [[LEd]]
<tr>
+
* [[Notepad++]]
<td> [https://atom.io Atom]</td>
+
* [[Scite]] ([[Windows Installation: ConTeXt Suite with SciTe]])
<td> CSP </td>
+
* [[TeXnicCenter]]
<td> LMW </td>
+
* [[Texpad]]
<td>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.</td>
+
* [[TeXShop]]
</tr>
+
* [[Textadept]]
<tr style="background:#eeeeee;">
+
* [[TextMate]]
<td> [http://www.barebones.com/products/bbedit/ BBEdit]</td>
+
* [[TeXworks]]
<td> CSTP </td>
+
* [[Vim]]
<td> M </td>
+
* [[VSCode]]
<td>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]. </td>
 
</tr>
 
<tr>
 
<td> [http://www.emacswiki.org/cgi-bin/wiki Emacs] with [http://www.gnu.org/software/auctex/ AUCTeX] </td>
 
<td> CT </td>
 
<td> LMW </td>
 
<td> 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.</td>
 
</tr>
 
<tr style="background:#eeeeee;">
 
<td> [https://wiki.gnome.org/Apps/Gedit gedit] </td>
 
<td> </td>
 
<td> L(MW) </td>
 
<td> GNOME editor </td>
 
</tr>
 
<tr>
 
<td> [http://www.jedit.org jEdit]</td>
 
<td> </td>
 
<td> LMW </td>
 
<td>Cross-platform mature programmer’s text editor. Good support for TeX and LilyPond among the rest.</td>
 
</tr>
 
<tr style="background:#eeeeee;">
 
<td> [http://kate-editor.org Kate] </td>
 
<td> C</td>
 
<td> L(MW) </td>
 
<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
 
highlight].
 
</tr>
 
<tr>
 
<td> [http://www.nano-editor.org/ nano] </td>
 
<td> </td>
 
<td> L(MW) </td>
 
<td> 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. </td>
 
</tr>
 
<tr style="background:#eeeeee;">
 
<td> [[Notepad++]] </td>
 
<td> 2 </td>
 
<td> W </td>
 
<td> 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). </td>
 
</tr>
 
<tr>
 
<td>[[Scite]] or [[Textadept]]</td>
 
<td> CT </td>
 
<td> L(M)W </td>
 
<td> ConTeXt support files come with the ConTeXt distribution in directory context/data/context.properties. See also the [http://www.pragma-ade.com/general/manuals/mscite-s.pdf manual mscite.pdf]. SciTE for Mac is commercial (AppStore). </td>
 
</tr>
 
<tr style="background:#eeeeee;">
 
<td> [https://www.peterborgapps.com/smultron/ Smultron]</td>
 
<td> PTU </td>
 
<td> M </td>
 
<td>Shareware. [[ConTeXt_Minimals/Mac_Installation#Smultron_installation_and_configuration|Old configuration instructions]].</td>
 
</tr>
 
<tr>
 
<td> [[TextMate]] </td>
 
<td> C </td>
 
<td> M </td>
 
<td> The ConTeXt bundle is not in the distribution, but you can download a copy from [https://github.com/pgundlach/context.tmbundle/ GitHub]. </td>
 
</tr>
 
<tr style="background:#eeeeee;">
 
<td> [http://www.uoregon.edu/~koch/texshop/ TeXshop] </td>
 
<td> PT </td>
 
<td> M </td>
 
<td> Simple Cocoa IDE. [[ConTeXt_Minimals/Mac_Installation#TeXShop_installation_and_configuration|Configuration instructions]] </td>
 
</tr>
 
<tr>
 
<td> [https://www.texstudio.org/ TeXstudio] </td>
 
<td> PST </td>
 
<td> LMW </td>
 
<td> Extensive, memory-hungry LaTeX IDE. Too LaTeX-centered to be really helpful for ConTeXt.</td>
 
</tr>
 
<tr style="background:#eeeeee;">
 
<td>[http://www.tug.org/texworks/ TeXWorks]</td>
 
<td> PST </td>
 
<td> LMW </td>
 
<td> Probably the most widespread TeX IDE, similar to TeXshop, supported by TUG. </td>
 
</tr>
 
<tr>
 
<td> [http://www.textpad.com/ TextPad]</td>
 
<td> CT </td>
 
<td> W </td>
 
<td> Commercial; TeX/ConTeXt/LaTeX command library; configurable to run a whatever-TeX command as a tool</td>
 
</tr>
 
<tr style="background:#eeeeee;">
 
<td> [[Vim]] </td>
 
<td> CT2 </td>
 
<td> LMW </td>
 
<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
 
importance.</td>
 
</tr>
 
<tr>
 
<td> [http://www.winedt.com/ WinEdt]</td>
 
<td> T </td>
 
<td> W </td>
 
<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
 
(tables, enumerations, ...) and compiling/previewing the documents by clicking a button. This is supported for ConTeXt also. You can configure it easily.</td>
 
</tr>
 
</table>
 
  
'''Features/OSs:'''
+
== Setting up source synchronisation ==
* 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
 
* L = Linux
 
* M = MacOS X
 
* W = Windows
 
  
(Probably more editors have C and T.)
+
* [[SyncTeX]]
 +
 
 +
= Text editors =
 +
 
 +
{|
 +
|- style="text-align:left;"
 +
! colspan="2" | 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)
 +
|-
 +
| _<sup>?</sup>: || previous feature probable but unsure
 +
|}
 +
{|
 +
|- style="text-align:left;"
 +
! colspan="2" | OSes
 +
|-
 +
| L: || Linux
 +
|-
 +
| M: || MacOS
 +
|-
 +
| W: || Windows
 +
|}
 +
 
 +
{|
 +
|- style="text-align:left;background:#cccccc;"
 +
! Editor !! Features !! OSes !! Remarks
 +
|-
 +
| [https://atom.io Atom]
 +
| CSP || LMW
 +
| 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.
 +
|- style="background:#eeeeee;"
 +
| [http://www.barebones.com/products/bbedit/ BBEdit]
 +
| CSTP || M
 +
| 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
 +
| 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 is 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;"
 +
| [http://www.emacswiki.org/cgi-bin/wiki Emacs] with [http://www.gnu.org/software/auctex/ AUCTeX]
 +
| CT || LMW
 +
| 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.
 +
|-
 +
| [https://wiki.gnome.org/Apps/Gedit gedit]
 +
| || L(MW)
 +
| GNOME editor
 +
|- style="background:#eeeeee;"
 +
| [http://www.jedit.org jEdit]
 +
| || LMW
 +
| Cross-platform mature programmer’s text editor. Good support for TeX and LilyPond among the rest.
 +
|-
 +
| [http://kate-editor.org Kate]
 +
| C || L(MW)
 +
| 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 highlight].
 +
|- style="background:#eeeeee;"
 +
| [http://www.nano-editor.org/ nano]
 +
| || L(MW)
 +
| 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<sup>?</sup>2 || W
 +
| 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>.
 +
|- style="background:#eeeeee;"
 +
| '''[[Scite|SciTE]]'''
 +
| CT || L(M)W
 +
| The "official" ConTeXt editor ([http://www.pragma-ade.com/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).
 +
|-
 +
| [https://www.peterborgapps.com/smultron/ Smultron]
 +
| PTU || M
 +
| Shareware. [[ConTeXt_Minimals/Mac_Installation#Smultron_installation_and_configuration|Old configuration instructions]].
 +
|- style="background:#eeeeee;"
 +
| [https://www.sublimetext.com/ Sublime Text]
 +
| CT2 || LMW
 +
| Uncluttered yet extremely powerful & widely revered text editor. With Package Control, install the vital [https://packagecontrol.io/packages/simple_ConTeXt simple_ConTeXt] package.
 +
|-
 +
| [https://projects.eclipse.org/projects/science.texlipse/ TeXlipse]
 +
| PS<sup>?</sup>T || LMW
 +
| LaTeX-Extension for Eclipse (part of Eclipse Science)
 +
|- style="background:#eeeeee;"
 +
| [http://www.uoregon.edu/~koch/texshop/ TeXshop]
 +
| PT || M
 +
| Simple TeX IDE for OSX. [[TeXShop]]
 +
|-
 +
| [https://www.texstudio.org/ TeXstudio]
 +
| PST || LMW
 +
| Extensive, memory-hungry LaTeX IDE. Too LaTeX-centered to be really helpful for ConTeXt.
 +
|- style="background:#eeeeee;"
 +
| [[Textadept]]
 +
| CT || LMW
 +
| ConTeXt support files come with the ConTeXt distribution in directory <tt>texmf-context/context/data/textadept</tt>.
 +
|-
 +
| [[TextMate]]
 +
| C || M
 +
| The ConTeXt bundle is not in the distribution, but you can download a copy from [https://github.com/pgundlach/context.tmbundle/ GitHub].
 +
|- style="background:#eeeeee;"
 +
| [http://www.textpad.com/ TextPad]
 +
| CT || W
 +
| Commercial; TeX/ConTeXt/LaTeX command library; configurable to run a whatever-TeX command as a tool
 +
|-
 +
| [http://www.tug.org/texworks/ TeXWorks]
 +
| PST || LMW
 +
| 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>.
 +
|- style="background:#eeeeee;"
 +
| [[Vim]]
 +
| CT2 || LMW
 +
| 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.
 +
|-
 +
| [http://www.winedt.com/ WinEdt]
 +
| T || W
 +
| 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.
 +
|}
 +
 
 +
[[Category:Text Editors]]

Revision as of 04:24, 25 September 2021

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

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 Remarks
Atom CSP LMW 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.
BBEdit CSTP M 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 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 is a Windows 10 app with 'fluent design' GUI. The editor is based on monaco-editor and the PDF viewer is based on PDF.js.
Emacs with AUCTeX CT LMW 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) GNOME editor
jEdit LMW Cross-platform mature programmer’s text editor. Good support for TeX and LilyPond among the rest.
Kate C L(MW) Kate is an advanced multi-document text editor for KDE. It has built-in LaTeX syntax highlighting, but you can install a file that provides ConTeXt syntax highlight.
nano L(MW) 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 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.
SciTE CT L(M)W 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).
Smultron PTU M Shareware. Old configuration instructions.
Sublime Text CT2 LMW Uncluttered yet extremely powerful & widely revered text editor. With Package Control, install the vital simple_ConTeXt package.
TeXlipse PS?T LMW LaTeX-Extension for Eclipse (part of Eclipse Science)
TeXshop PT M Simple TeX IDE for OSX. TeXShop
TeXstudio PST LMW Extensive, memory-hungry LaTeX IDE. Too LaTeX-centered to be really helpful for ConTeXt.
Textadept CT LMW ConTeXt support files come with the ConTeXt distribution in directory texmf-context/context/data/textadept.
TextMate C M The ConTeXt bundle is not in the distribution, but you can download a copy from GitHub.
TextPad CT W Commercial; TeX/ConTeXt/LaTeX command library; configurable to run a whatever-TeX command as a tool
TeXWorks PST LMW 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 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.
WinEdt T W 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.