[OS X TeX] edit Fortran code in Texshop

Bruno Voisin bvoisin at mac.com
Tue Mar 7 01:25:14 EST 2006

Le 6 mars 06 à 18:24, Chen Long a écrit :

> Now I am used to use Texshop for word process. I am wondering if  
> there is a mod such that when Texshop opens Fortran code or Matlab  
> code, it will highlight those key words.

Assuming you're looking for a text editor which knows about "modes"  
and what to do with them (namely, a Fortran mode with Fortran syntax  
highlighting and possibly a dedicated menu or palette, and the same  
for TeX, for Perl, for Tcl/Tk, etc.), it's clearly IMO not the  
purpose of TeXShop, but there are a few candidates:

- AlphaX (shareware, started its life on pre-OS X Macs):


- BBEdit (commercial, started its life on pre-OS X Macs):


- TextWrangler (freeware, a stripped-down version of BBEdit):


- Emacs (freeware, a long-time *nix favourite, with several -- many  
-- too many -- OS X ports):


Apart from Emacs, these are only Carbon software, namely software  
that build upon the Classic Mac OS inheritance of OS X. There must  
also be Cocoa software with the same functionalities, namely software  
that build upon the NeXT inheritance of OS X. I just don't know much  
about them. Some I heard the name of, without really knowing what  
they do:

- TextMate <http://macromates.com/>

- Smultron <http://smultron.sourceforge.net/>

- SubEthaEdit <http://www.codingmonkeys.de/subethaedit/>

And I'm sure there are many others!

There must also be dedicated "modes" (if that is indeed the right  
term) for Xcode lying around.

Hope this helps,

Bruno Voisin

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list