Difference between revisions of "TextMate"

From Wiki
Jump to navigation Jump to search
(TextMate Bundle description started)
 
m (version hint)
(28 intermediate revisions by 7 users not shown)
Line 1: Line 1:
= ConTeXt bundle for TextMate =
+
< [[Text Editors]]
  
You can [[http://dl.contextgarden.net/support/context-tmbundle.dmg download]] version 0.2 of Patrick's bundle.
+
Editor Homepage: http://www.macromates.com
  
== Installing ==
+
This page was written at version 0.11. Last versions from 2014 were 1.5 (stable) or 2.0 (beta), looked up end of 2016.
  
Just double-click on the 'dmg'-file to mount it and then double click on the bundle to install it. Once it is installed, you can eject the dmg and delete all downloaded files.
+
== Installing the bundle ==
  
== Usage ==
+
Download the package from the address given at the bottom of this readme. Double click on the file to mount the disk image and then just double click the 'ConTeXt.tmbundle' file.  
Completion: You can type in \col and press 'esc' and TextMate will run through all commands that start with \col, such as \color and \column.  
 
  
Environments: type in 'env' and press tab to get a \start.... \stop pair. You can now type in the kind of environment.
+
== Features ==
  
Included texshow: type in a command, such as '\color' and press tab, and you will see the kind of arguments the command accepts. Just tab through all the highlighted arguments and you will guess how it works.
+
* 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)
 +
* check                  (ctrl-shift-v)
 +
* 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')
 +
* luatex support          (also on cmd-R, no hyperlinks in the output yet)
  
Online help: Press Ctrl-H and you can download the html page from texshow-web for the command where the word is on.
+
== 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 ==
 +
 
 +
* Documentation enhancement
 +
* multi-file support
 +
* help on current word should check if the command is actually known (MM)
 +
* [[SyncTeX]] support
 +
 
 +
== Known limitations/bugs ==
 +
 
 +
 
 +
Please contact me at patrick <at> gundla.ch for suggestions/comments/bug reports/...
 +
 
 +
== Acknowledgments ==
 +
 
 +
The metafun grammar is taken from Charilaos Skiadas' metapost bundle and used with permission. Thanks for that!
 +
 
 +
== Resources ==
 +
 
 +
Homepage:  http://wiki.contextgarden.net/ConTeXt_Bundle_for_TextMate<br/>
 +
Download:  http://dl.contextgarden.net/support/<br/>
 +
Sourcecode: http://github.com/pgundlach/context.tmbundle <br />
 +
Contact:    patrick <at> gundla.ch<br/>
 +
 
 +
{{Installation navbox}}
 +
 
 +
[[Category:Text Editors]]

Revision as of 11:14, 24 October 2016

< Text Editors

Editor Homepage: http://www.macromates.com

This page was written at version 0.11. Last versions from 2014 were 1.5 (stable) or 2.0 (beta), looked up end of 2016.

Installing the bundle

Download the package from the address given at the bottom of this readme. 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)
  • check (ctrl-shift-v)
  • 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')
  • luatex support (also on cmd-R, no hyperlinks in the output yet)

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 the textmate manual.

Future versions

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

Known limitations/bugs

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

Acknowledgments

The metafun grammar is taken from Charilaos Skiadas' metapost bundle and used with permission. Thanks for that!

Resources

Homepage: http://wiki.contextgarden.net/ConTeXt_Bundle_for_TextMate
Download: http://dl.contextgarden.net/support/
Sourcecode: http://github.com/pgundlach/context.tmbundle
Contact: patrick <at> gundla.ch