TeX with Xcode 4/5
 
This is an implementation of a syntax coloring for TeX/LaTeX/BibTeX to use with Xcode 5. It is still incomplete and will (maybe) improve with time. The syntax colorization files are the same with the version 3.x but they are not at the same place, and the colororization is not automatic, I still don'’t know how to fix that, but it works enough to be usable. And frankly the Xcode 5 environment is agreeable to work with.TeX%20%26%20XCode%203.htmlshapeimage_2_link_0
version 1.1 March 27, 2014 The script below works with the distribution TeX Live, get the install here. Download
The zip file, once decompressed, contains the script 
Add-LaTeX-BibTeX.sh this script must be executed by the Terminal with a sudo command, that is important. The script will place a few files in some special places. The file Xcode.app is supposed to be located in the folder 
/Applications/
LaTeX Syntax colouring specifications files 

BibTeX Syntax colouring specifications files 

LaTeX/BibTeX colouring scheme

Code Snippets


LaTeX Template

Once everything is installed
1.- Open Xcode 5 and make a new LaTeX project:

2.- Call it the name you want, but preferably follow the TeX rules of file names: no spaces. In my example I call it MyProject

And that is how your screen looks like:

3.- Select the file MyProject.tex It appears in black on white:

4.- Now choose the LaTeX colorization in the menu Syntax Colouring of menu Editor

Choose the LaTeX colorization Sunset LaTeX in the Fonts & Colors menu of the Preferences panel.

5.- Now your TeX is colorized and the window looks like:

Now make a Cmd-B to typeset your file, if everything went right you must see the result in the main window. 
Have fun! On my side it is the TeX front end I prefer, with a little bit of snippets and script I am a happy TeXer :-)
Created under Creative Commons license CC BY-NC 4.0.http://creativecommons.org/licenses/by-nc/4.0/shapeimage_6_link_0