Difference between revisions of "Text Editors"

From Wiki
Jump to navigation Jump to search
m (Update TextMate links)
(add TeXlipse, fix sorting)
(17 intermediate revisions by 6 users not shown)
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> CSP </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.barebones.com/products/bbedit/ BBEdit]</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. [[More AUCTeX]] 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> CSTP </td>
</tr> <tr>
+
<td> M </td>
<td> [[Vim]] </td>
+
<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>
<td> </td><td> </td><td> S </td><td> T </td><td> U </td><td> 2 </td><td> ? </td>
+
</tr>
<td> y </td>
+
<tr>
<td> y </td>
+
<td> [http://www.emacswiki.org/cgi-bin/wiki Emacs] with [http://www.gnu.org/software/auctex/ AUCTeX] </td>
<td> y </td>
+
<td> CT </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>
+
<td> LMW </td>
</tr> <tr style="background:#eeeeee;">
+
<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>
<td>[[Scite]]</td>
+
</tr>
<td> C </td><td> </td><td> S </td><td> T </td><td> U </td><td> </td><td> </td>
+
<tr style="background:#eeeeee;">
<td> y </td>
+
<td> [https://wiki.gnome.org/Apps/Gedit gedit] </td>
<td> y </td>
+
<td> </td>
<td> y (X11) </td>
+
<td> L(MW) </td>
<td> ConTeXt support not before 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> GNOME editor </td>
</tr><tr>
+
</tr>
<td> [http://www.uoregon.edu/~koch/texshop/ TeXshop] </td>
+
<tr>
<td> ? </td><td> P </td><td> S </td><td> T </td><td> U </td><td> </td><td> </td>
+
<td> [http://www.jedit.org jEdit]</td>
<td> - </td>
+
<td> </td>
<td> - </td>
+
<td> LMW </td>
<td> y (native)</td>
+
<td>Cross-platform mature programmer’s text editor. Good support for TeX and LilyPond among the rest.</td>
<td> Simple Cocoa IDE. [[ConTeXt_Minimals/Mac_Installation#TeXShop_installation_and_configuration|Configuration instructions]] </td>
+
</tr>
</tr><tr style="background:#eeeeee;">
+
<tr style="background:#eeeeee;">
<td> [[iTeXMac]] </td>
+
<td> [http://kate-editor.org Kate] </td>
<td> ? </td><td> P </td><td> S </td><td> T </td><td> U </td><td> </td><td> + </td>
+
<td> C</td>
<td> - </td>
+
<td> L(MW) </td>
<td> - </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
<td> y (native) </td>
+
highlight].
<td> More advanced Cocoa IDE (one of its modes doesn't like tabulated source)</td>
+
</tr>
                </tr><tr>
+
<tr>
<td> [[TextMate]] </td>
+
<td> [http://www.nano-editor.org/ nano] </td>
<td> C </td><td> </td><td> S </td><td> T </td><td> U </td><td> ?</td><td> </td>
+
<td> </td>
<td> - </td>
+
<td> L(MW) </td>
<td> - </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>
<td> y (native)</td>
+
</tr>
<td> The ConTeXt bundle is not yet in the distribution, but you can download a copy at [http://dl.contextgarden.net/support/context-tmbundle.dmg].</td>
+
<tr style="background:#eeeeee;">
</tr> <tr style="background:#eeeeee;">
+
<td> [[Notepad++]] </td>
<td> [[Notepad++]] </td>
+
<td> CT?2 </td>
<td> </td><td> </td><td>S </td><td>T </td><td>U </td><td>2 </td><td>+ </td>
+
<td> W </td>
<td> </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). ConTeXt support files come with the ConTeXt distribution in directory <tt>texmf-context/context/data/npp</tt>.</td>
<td>y </td>
+
</tr>
<td> </td>
+
<tr>
<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>
+
<td>[[Scite]]</td>
</tr><tr>
+
<td> CT </td>
<td> [http://kate-editor.org Kate] </td>
+
<td> L(M)W </td>
<td> - </td><td> - </td><td> S </td><td> ? </td><td> U </td><td> - (KDE3) / 2 (KDE4) <td> + </td>
+
<td> 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). </td>
<td> y </td>
+
</tr>
<td> y </td>
+
<tr style="background:#eeeeee;">
<td> y </td>
+
<td> [https://www.peterborgapps.com/smultron/ Smultron]</td>
<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.
+
<td> PTU </td>
</tr><tr style="background:#eeeeee;">
+
<td> M </td>
<td> [http://kile.sourceforge.net Kile] </td>
+
<td>Shareware. [[ConTeXt_Minimals/Mac_Installation#Smultron_installation_and_configuration|Old configuration instructions]].</td>
<td> C </td><td> P </td><td> S </td><td> T </td><td> U </td><td> - (KDE3) / 2 (KDE4) </td><td> + </td>
+
</tr>
<td> y </td>
+
<tr>
<td> y </td>
+
<td> [https://projects.eclipse.org/projects/science.texlipse/ TeXlipse] </td>
<td> y </td>
+
<td> PS?T </td>
<td> Kile is a very advanced KDE-based editor/environment that primarily aims at LaTeX users, but since 2.x it has native ConTeXt support as well.Amongst other advanced features, Kile has to offer project management, inverse and forward TEX<->DVI search, side tree view of the document structure (e.g. by chapters, sections etc.), insertion of TeX and ConTeXt commands, insertion of symbols.
+
<td> LMW </td>
</tr>
+
<td> LaTeX-Extension for Eclipse (part of Eclipse Science)</td>
<tr>
+
</tr>
  <td> [http://smultron.sourceforge.net/ Smultron]</td>
+
<tr style="background:#eeeeee;">
    <td> - </td><td> P </td><td> S </td><td> T </td><td> - </td><td> - </td><td> - </td>
+
<td> [http://www.uoregon.edu/~koch/texshop/ TeXshop] </td>
    <td> - </td>
+
<td> PT </td>
    <td> - </td>
+
<td> M </td>
    <td> y </td>
+
<td> Simple TeX IDE for OSX. [[ConTeXt_Minimals/Mac_Installation#TeXShop_installation_and_configuration|Old Configuration instructions]] </td>
    <td> [[ConTeXt_Minimals/Mac_Installation#Smultron_installation_and_configuration|Configuration instructions]] </td>
+
</tr>
</tr> <tr style="background:#eeeeee;">
+
<tr>
<td>[http://www.tug.org/texworks/ TeXWorks]</td>
+
<td> [https://www.texstudio.org/ TeXstudio] </td>
<td> </td><td> P </td><td> S </td><td> T </td><td> U </td><td> </td><td> </td>
+
<td> PST </td>
<td> (y) </td>
+
<td> LMW </td>
<td> y </td>
+
<td> Extensive, memory-hungry LaTeX IDE. Too LaTeX-centered to be really helpful for ConTeXt.</td>
<td> y </td>
+
</tr>
<td>  </td>
+
<tr style="background:#eeeeee;">
</tr>
+
<td>[[Textadept]]</td>
</table>
+
<td> CT </td>
 +
<td> LMW </td>
 +
<td> ConTeXt support files come with the ConTeXt distribution in directory <tt>texmf-context/context/data/textadept</tt>.</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.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>[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. ConTeXt support files come with the ConTeXt distribution in directory <tt>texmf-context/context/data/texworks</tt>.</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>
 +
<tr style="background:#eeeeee;"><td colspan="4"></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 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> - </td>
 
    <td> y (X11) </td>
 
    <td> GNOME editor </td>
 
  </tr><tr style="background:#eeeeee;">
 
    <td> [http://freshmeat.net/projects/klat/ klat] </td>
 
    <td> </td><td> </td><td> S </td><td> T </td><td> U </td><td> ? </td><td> </td>
 
    <td> y </td>
 
    <td> - </td>
 
    <td> y (X11) </td>
 
    <td> KDE editor, based on Kate </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> A nice, configurable Windows editor, very suitable for newbies to (La)TeX. A large  collection of buttons with Greek letters and other (math) symbols is very helpfulp when typesetting math. It also has spell checker, but no support for UTF yet.<br> 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.<br>''(WinEdt is not free software, but shareware with 31+ days trial.)''</td>
 
  </tr><tr style="background:#eeeeee;">
 
    <td> [http://freshmeat.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</td>
 
  </tr><tr>
 
    <td> [http://www.toolscenter.org/ TeXnicCenter]</td>
 
    <td> - </td><td> P </td><td> S </td><td> - </td><td> - </td><td> - </td><td> - </td>
 
    <td> - </td>
 
    <td> y </td>
 
    <td> - </td>
 
    <td> Oriented towards the use of LaTeX, but can also be used for processing ConTeXt documents. A large  collection of buttons with Greek letters and other (math) symbols is very helpfulp when typesetting math. It also has spell checker.<br> LaTeX users can also find many templates (tables, enumerations, ...) and compiling/previewing the documents by clicking a button (it is easy to [[Configure TeXnicCenter for ConTeXt]] use).<br>''(TeXnicCenter is freely available under GPL).''</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; TeXt/ConTeXt/LaTeX command library; confirugable to run a whatever-TeX command as a tool</td>
 
  </tr>
 
 
 
</table>
 
 
 
== SyncTeX ==
 
 
 
For synchronising between text in PDF and TeX source see [[SyncTeX]].
 
 
 
== Revision Control ==
 
Because large ConTeXt projects can consist of a number of separate files that are hard to keep track of, it may be necessary to consider using a revision control system.
 
 
 
[http://tortoisehg.bitbucket.org/ TortoiseHg] is an easy-to-use GUI frontend that includes the Mercurial revision control system as well as Windows shell extensions.
 
 
 
[[Category:Text Editors]]
 
/td>/td>
 
    td> y
 
td>
 

Revision as of 19:04, 2 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 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.
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 [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++ 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 ConTeXt support files come with the ConTeXt distribution in directory texmf-context/context/data/scite. See also the manual mscite.pdf. SciTE for Mac is commercial (AppStore).
Smultron PTU M Shareware. Old configuration instructions.
TeXlipse PS?T LMW LaTeX-Extension for Eclipse (part of Eclipse Science)
TeXshop PT M Simple TeX IDE for OSX. Old Configuration instructions
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.

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