Difference between revisions of "TextMate"

From Wiki
Jump to navigation Jump to search
(slight update)
Line 1: Line 1:
< [[Text Editors]]
+
Current version is 0.7.
 
 
Editor Homapage: http://www.macromates.com
 
 
 
Current version is 0.6.
 
  
 
== Installing the bundle ==
 
== Installing the bundle ==
Line 25: Line 21:
 
* wrap selection in \start...\stop (ctrl-shift-w)
 
* wrap selection in \start...\stop (ctrl-shift-w)
 
* xetex support          (set CTX_ENGINE to 'xetex')
 
* xetex support          (set CTX_ENGINE to 'xetex')
 
== CTX_ENGINE ==
 
You can set the variable CTX_ENGINE in Textmate's preference window (Textmate menu -> preferences), click on 'Advanced', select the tab 'shell variables' and add the variable CTX_ENGINE by using
 
the '+' button at the bottom left. Double Click on 'MY_VARIABLE' and replace it with 'CTX_ENGINE'. Replace 'some value' with 'xetex' for xetex or 'pdftex' for pdftex. For project dependent variables see [http://macromates.com/textmate/manual/environment_variables#project_dependent_variables the textmate manual].
 
  
 
== Future versions ==
 
== Future versions ==
Line 38: Line 30:
 
== Known limitations/bugs ==
 
== Known limitations/bugs ==
  
* "env [tab] something [Enter] something else" gives somewhat surprising result (MM)
 
  
 
Please contact me at patrick <at> gundla.ch for suggestions/comments/bug reports/...
 
Please contact me at patrick <at> gundla.ch for suggestions/comments/bug reports/...
Line 47: Line 38:
 
Download: http://dl.contextgarden.net/support/<br/>
 
Download: http://dl.contextgarden.net/support/<br/>
 
Contact:  patrick <at> gundla.ch<br/>
 
Contact:  patrick <at> gundla.ch<br/>
 
[[Category:Text Editors]]
 

Revision as of 19:53, 13 February 2008

Current version is 0.7.

Installing the bundle

Download the package from the address given below. Double click on the file to mount the disk image and then just double click the 'ConTeXt.tmbundle' file.

Features

  • Help on current word (press ^h)
  • Inserting environments (type 'env' + press tab)
  • setting previwer (the variable PDF_VIEWER, the default is 'Preview'. You can try anything that you can use as an argument for 'open')
  • running texexec (cmd-R, there are hyperlinks to the .log and to the .pdf file, and in case of an error, a hyperlink to the source file)
  • purge (ctrl-alt-backsapce)
  • view (ctrl-alt-cmd-o)
  • tab on commands (exaple: insert \color and press tab, you can tab through the arguments.)
  • command completion (type in '\fill' and press the escape key multiple times)
  • bold/italic font (type cmd-i or cmd-b)
  • sectioning commands (type sec or sub and press tab)
  • metafun aware in \startuniqueMPgraphic and alike
  • drag/drop image to the source (creates \externalfigure[...])
  • wrap selection in \start...\stop (ctrl-shift-w)
  • xetex support (set CTX_ENGINE to 'xetex')

Future versions

  • Documentation enhancement
  • multi-file support
  • help on current word should check if the command is actually known (MM)

Known limitations/bugs

Please contact me at patrick <at> gundla.ch for suggestions/comments/bug reports/...

Resources

Homepage: http://wiki.contextgarden.net/ConTeXt_Bundle_for_TextMate
Download: http://dl.contextgarden.net/support/
Contact: patrick <at> gundla.ch