Difference between revisions of "Text Editors"

From Wiki
Jump to navigation Jump to search
(move Atom up, add TeXstudio, delete TextWrangler, add a few other details)
(refactored editors table)
Line 1: Line 1:
 
< [[Main Page]] | [[Related Programs]] >
 
< [[Main Page]] | [[Related Programs]] >
  
You can use any text editor for creating a source file for ConTeXt, even notepad should do.  
+
You can use any text editor that can save text files in UTF-8 for creating a source file for ConTeXt.  
 
Many editors provide generic TeX syntax highlighting, but some have even more support for ConTeXt.
 
Many editors provide generic TeX syntax highlighting, but some have even more support for ConTeXt.
  
== ConTeXt-aware ==
+
<table>
 
+
<tr style="background:#cccccc;">
<table> <tr style="background:#cccccc;">
+
<td> Editor </td>
<td> Editor </td>
+
<td> Features </td>
<td colspan="7"> features </td>
+
<td> OSs </td>
<td> Linux </td>
+
<td> Remarks </td>
<td> Win </td>
+
</tr>
<td> MacOS X </td>
+
<tr>
<td> Remarks </td>
+
<td> [https://atom.io Atom]</td>
</tr> <tr style="background:#eeeeee;">
+
<td> CP </td>
<td> [http://www.emacswiki.org/cgi-bin/wiki Emacs] with [http://www.gnu.org/software/auctex/ AUCTeX] </td>
+
<td> LMW </td>
<td> </td><td> </td><td> S </td><td> T </td><td> U </td><td> </td><td> ? </td>
+
<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>
<td> y </td>
+
</tr>
<td> y </td>
+
<tr style="background:#eeeeee;">
<td> y </td>
+
<td> [http://www.emacswiki.org/cgi-bin/wiki Emacs] with [http://www.gnu.org/software/auctex/ AUCTeX] </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. Berend de Boers ConTeXt mode for Emacs has been merged with the former ConTeXt support in AUCTeX by Patrick Gundlach. The [[AUCTeX]] page on this wiki has further AUCTeX customization for ConTeXt. 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>
+
<td> CT </td>
</tr> <tr>
+
<td> LMW </td>
<td> [[Vim]]  </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. Berend de Boers ConTeXt mode for Emacs has been merged with the former ConTeXt
<td> </td><td> </td><td> S </td><td> T </td><td> U </td><td> 2 </td><td> ? </td>
+
support in AUCTeX by Patrick Gundlach. The [[AUCTeX]] page on this wiki has further AUCTeX customization for ConTeXt. If you write documents with bibliographies, indexes, or cross-references, you may also be interested in [[Reftex|using Reftex]].
<td> y </td>
+
There is also [[Emacs-muse]] which is an extension.</td>
<td> y </td>
+
</tr>
<td> y </td>
+
<tr>
<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>
+
<td> [http://gedit.sourceforge.net/ gedit] </td>
</tr> <tr style="background:#eeeeee;">
+
<td> </td>
<td>[[Scite]] or [[Textadept]]</td>
+
<td> L(M)W </td>
<td> C </td><td> </td><td> S </td><td> T </td><td> U </td><td> </td><td> </td>
+
<td> GNOME editor </td>
<td> y </td>
+
</tr>
<td> y </td>
+
<tr style="background:#eeeeee;">
<td> y (TA only) </td>
+
<td> [http://www.jedit.org jEdit]</td>
<td> ConTeXt since v1.6.x. 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 mcite.pdf]. </td>
+
<td> </td>
</tr><tr>
+
<td> LMW </td>
<td> [http://www.uoregon.edu/~koch/texshop/ TeXshop] </td>
+
<td>Cross-platform mature programmer's text editor. Good support for TeX and LilyPond among the rest.</td>
<td> ? </td><td> P </td><td> S </td><td> T </td><td> U </td><td> </td><td> </td>
+
</tr>
<td> - </td>
+
<tr>
<td> - </td>
+
<td> [http://kate-editor.org Kate] </td>
<td> y (native)</td>
+
<td> C</td>
<td> Simple Cocoa IDE. [[ConTeXt_Minimals/Mac_Installation#TeXShop_installation_and_configuration|Configuration instructions]] </td>
+
<td> L(MW) </td>
</tr><tr style="background:#eeeeee;">
+
<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
<td>[http://www.tug.org/texworks/ TeXWorks]</td>
+
highlight].
<td> </td><td> P </td><td> S </td><td> T </td><td> U </td><td> </td><td> </td>
+
</tr>
<td> y </td>
+
<tr style="background:#eeeeee;">
<td> y </td>
+
<td> [http://www.nano-editor.org/ nano] </td>
<td> y </td>
+
<td> </td>
<td> Probably the most widespread TeX IDE, similar to TeXshop, supported by TUG. </td>
+
<td> L(MW) </td>
</tr><tr>
+
<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>
<td> [[TextMate]] </td>
+
</tr>
<td> C </td><td> - </td><td> S </td><td> T </td><td> U </td><td> ? </td><td> </td>
+
<tr>
<td> - </td>
+
<td> [[Notepad++]] </td>
<td> - </td>
+
<td> 2 </td>
<td> y (native)</td>
+
<td> W </td>
<td> The ConTeXt bundle is not yet in the distribution, but you can download a copy from [https://github.com/pgundlach/context.tmbundle/ GitHub]. </td>
+
<td> Npp is one of the most powerful and useful text editors around. For Windows users (you can also use it under Wine) wanting a modern interface with loads of included features (see especially the TextFX menu), it deserves a close look. </td>
</tr><tr style="background:#eeeeee;">
+
</tr>
<td> [[Notepad++]] </td>
+
<tr style="background:#eeeeee;">
<td> </td><td> </td><td>S </td><td>T </td><td>U </td><td>2 </td><td>+ </td>
+
<td>[[Scite]] or [[Textadept]]</td>
<td> (Wine)</td>
+
<td> CT </td>
<td>y </td>
+
<td> L(M)W </td>
<td> – </td>
+
<td> ConTeXt since v1.6.x. 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 mcite.pdf]. </td>
<td> Npp is one of the most powerful and useful text editors around. For Windows users (you can also use it under Wine) wanting a more modern interface with loads of included features (see especially the TextFX menu), it deserves a close look. </td>
+
</tr>
</tr><tr>
+
<tr>
<td> [http://kate-editor.org Kate] </td>
+
<td> [https://www.peterborgapps.com/smultron/ Smultron]</td>
<td> - </td><td> - </td><td> S </td><td> ? </td><td> U </td><td> - (KDE3) / 2 (KDE4) <td> + </td>
+
<td> PTU </td>
<td> y </td>
+
<td> M </td>
<td> y </td>
+
<td>Shareware. [[ConTeXt_Minimals/Mac_Installation#Smultron_installation_and_configuration|Old configuration instructions]].</td>
<td> y </td>
+
</tr>
<td> Kate is an advanced multi-document text editor for KDE (KWrite is in the same package, but handles only single documents). It has already 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]. It is planned to be included in the Kate package itself in the (near) future though.
+
<tr style="background:#eeeeee;">
</tr>
+
<td> [[TextMate]] </td>
  <tr style="background:#eeeeee;">
+
<td> C </td>
    <td> [https://atom.io Atom]</td>
+
<td> M </td>
    <td> C </td><td> P </td><td> S </td><td> U </td><td> - </td><td> - </td><td> - </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>
    <td> y </td>
+
</tr>
    <td> y </td>
+
<tr>
    <td> y </td>
+
<td> [http://www.uoregon.edu/~koch/texshop/ TeXshop] </td>
    <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>
+
<td> PT </td>
  </tr>
+
<td> M </td>
</table>
+
<td> Simple Cocoa IDE. [[ConTeXt_Minimals/Mac_Installation#TeXShop_installation_and_configuration|Configuration instructions]] </td>
 +
</tr>
 +
<tr style="background:#eeeeee;">
 +
<td> [https://www.texstudio.org/ TeXstudio] </td>
 +
<td> PST </td>
 +
<td> LMW </td>
 +
<td> Extensive, memory-hungry TeX IDE </td>
 +
</tr>
 +
<tr>
 +
<td>[http://www.tug.org/texworks/ TeXWorks]</td>
 +
<td> PT </td>
 +
<td> LMW </td>
 +
<td> Probably the most widespread TeX IDE, similar to TeXshop, supported by TUG. </td>
 +
</tr>
 +
<tr style="background:#eeeeee;">
 +
<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>
 +
<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 style="background:#eeeeee;">
 +
<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:'''  
+
'''Features/OSs:'''  
* C = TeX/ConTeXt command completion  
+
* C = ConTeXt syntax highlighting (and perhaps command completion)
 
* P = PDF preview   
 
* P = PDF preview   
* S = TeX/ConTeXt syntax highlighting    
+
* S = [[SyncTeX]] support (synchronising between text in PDF and TeX source)    
 
* T = ConTeXt typesetting
 
* T = ConTeXt typesetting
* U = Unicode (UTF-8) handling
+
* 2 = bidirectional editing (right-to-left)
* 2 = bidirectional edit (right-to-left)
 
* + = more…
 
 
* ? = previous feature probable but unsure
 
* ? = previous feature probable but unsure
 +
* L = Linux
 +
* M = MacOS X
 +
* W = Windows
  
== Other editors ==
+
(Probably more editors have C and T.)
 
 
The following editors have no specific ConTeXt support, but do a good job for generic (La)TeX typesetting, so you may use them for ConTeXt as well:
 
<table>
 
  <tr style="background:#cccccc;">
 
    <td> Editor </td>
 
    <td colspan="7"> features </td>
 
    <td> Linux </td>
 
    <td> Win </td>
 
    <td> MacOS X </td>
 
    <td> Remarks </td>
 
  </tr><tr>
 
    <td> [http://www.winedt.com/ WinEdt]</td>
 
    <td> - </td><td> - </td><td> S </td><td> T </td><td> U </td><td> - </td><td> - </td>
 
    <td> - </td>
 
    <td> y </td>
 
    <td> - </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><tr style="background:#eeeeee;">
 
    <td> [http://www.nano-editor.org/ GNU nano] </td>
 
    <td> </td>
 
    <td> </td>
 
    <td> S </td>
 
    <td> </td>
 
    <td> U </td>
 
    <td> ? </td>
 
    <td> </td>
 
    <td> y </td>
 
    <td> y </td>
 
    <td> y </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>
 
    <td> [http://gedit.sourceforge.net/ gedit] </td>
 
    <td> </td>
 
    <td> </td>
 
    <td> S </td>
 
    <td> </td>
 
    <td> U </td>
 
    <td> ? </td>
 
    <td> </td>
 
    <td> y </td>
 
    <td> y </td>
 
    <td> y (X11) </td>
 
    <td> GNOME editor </td>
 
  </tr><tr style="background:#eeeeee;">
 
    <td> [http://www.textpad.com/ TextPad]</td>
 
    <td> - </td>
 
    <td> - </td>
 
    <td> S </td>
 
    <td> T </td>
 
    <td> U </td>
 
    <td> ? </td>
 
    <td> + </td>
 
    <td> - </td>
 
    <td> y </td>
 
    <td> - </td>
 
    <td> Commercial; TeX/ConTeXt/LaTeX command library; configurable to run a whatever-TeX command as a tool</td>
 
  </tr><tr>
 
  <td> [https://www.peterborgapps.com/smultron/ Smultron]</td>
 
    <td> - </td><td> P </td><td> S </td><td> T </td><td> U </td><td> - </td><td> - </td>
 
    <td> - </td>
 
    <td> - </td>
 
    <td> y </td>
 
    <td>Shareware. [[ConTeXt_Minimals/Mac_Installation#Smultron_installation_and_configuration|Old configuration instructions]].</td>
 
</tr><tr style="background:#eeeeee;">
 
    <td> [https://sourceforge.net/projects/nedit/ NEdit]</td>
 
    <td> - </td><td> - </td><td> S </td><td> - </td><td> - </td><td> - </td><td> - </td>
 
    <td> y </td>
 
    <td> y </td>
 
    <td> ? </td>
 
    <td>X server (Cygwin/Xorg) is needed to run Nedit on Windows. Outdated.</td>
 
  </tr>
 
  <tr>
 
    <td> [http://www.jedit.org jEdit]</td>
 
    <td> - </td><td> - </td><td> S </td><td> U </td><td> - </td><td> - </td><td> - </td>
 
    <td> y </td>
 
    <td> y </td>
 
    <td> y </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> TeXstudio </td>
 
    <td> ? </td>
 
    <td> P </td>
 
    <td> S </td>
 
    <td> T </td>
 
    <td> U </td>
 
    <td> ? </td>
 
    <td> ? </td>
 
    <td> y </td>
 
    <td> y </td>
 
    <td> y </td>
 
    <td> Entensive, memory-hungry TeX IDE </td>
 
  </tr>
 
</table>
 
 
 
== SyncTeX ==
 
 
 
For synchronising between text in PDF and TeX source see [[SyncTeX]].
 

Revision as of 18:07, 1 April 2019

< Main Page | Related Programs >

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

Editor Features OSs Remarks
Atom CP 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.
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. Berend de Boers ConTeXt mode for Emacs has been merged with the former ConTeXt

support in AUCTeX by Patrick Gundlach. The AUCTeX page on this wiki has 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(M)W 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 [http://kde-files.org/content/show.php/ConTeXt+-+Syntax+Highlighting?content=54006 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++ 2 W Npp is one of the most powerful and useful text editors around. For Windows users (you can also use it under Wine) wanting a modern interface with loads of included features (see especially the TextFX menu), it deserves a close look.
Scite or Textadept CT L(M)W ConTeXt since v1.6.x. ConTeXt support files come with the ConTeXt distribution in directory context/data/context.properties. See also the manual mcite.pdf.
Smultron PTU M Shareware. Old configuration instructions.
TextMate C M The ConTeXt bundle is not in the distribution, but you can download a copy from GitHub.
TeXshop PT M Simple Cocoa IDE. Configuration instructions
TeXstudio PST LMW Extensive, memory-hungry TeX IDE
TeXWorks PT LMW Probably the most widespread TeX IDE, similar to TeXshop, supported by TUG.
TextPad CT W Commercial; TeX/ConTeXt/LaTeX command library; configurable to run a whatever-TeX command as a tool
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.

Features/OSs:

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