To help you to configure a new latex project in sublime text 2 some short tricks. My current operating system is Linux Mint 14, thus, some path information or program names could be differ.
(UPDATE: current os is xubuntu 12.10, still working).
UPDATE: Sublime Package Control
First you have to install Sublime Package Control. You can find the instructions here.
LatexTools
You can install the available latextools in sublime via “Strg + Shift + P” and choose “Package Control – Install Package”. In this menu you can select LatexTools for install. (You can find a video with some instructions at http://vimeo.com/54484312 )
After this create a new build system in sublime text via “Tools” – “Build System” – “New Build System …”.
UPDATE:
To configure different build systems (can be called via “Shift + Ctrl + P”).
{ "cmd": ["pdflatex $file_base_name"], "file_regex": "^(…*?):([0-9]*):?([0-9]*)", "selector": "source.latex.tex", "shell": true, "variants": [ { "name": "Bibtex", "cmd": ["pdflatex $file_base_name && bibtex $file_base_name && pdflatex $file_base_name && pdflatex $file_base_name"], "file_regex": "^(…*?):([0-9]*):?([0-9]*)", "selector": "source.latex.tex", "shell": true }, { "name": "Bibtex & Nomencl", "cmd": ["pdflatex $file_base_name && bibtex $file_base_name && pdflatex $file_base_name && pdflatex $file_base_name && makeindex $file_base_name.nlo -s nomencl.ist -o $file_base_name.nls && pdflatex $file_base_name"], "file_regex": "^(…*?):([0-9]*):?([0-9]*)", "selector": "source.latex.tex", "shell": true }, { "name": "Run", "cmd": ["evince $file_base_name.pdf"], "file_regex": "^(…*?):([0-9]*):?([0-9]*)", "selector": "source.latex.tex", "shell": true } ] }
Configure Project
Additionaly you can create a project file for your tex files. To avoid the listing of all different filetypes in your sublime folder view you can define exclude patterns in your project file.
{ "folders":[ { "path": "/path/to/your/tex/project/", "file_exclude_patterns": [ "*.log", "*.aux", "*.blg", "*.lof", "*.lot", "*.toc"] } ] }
Add Spellchecking
Further you can add german spellchecking to sublime text (or other languages). You can download your desired language file (if available) at https://github.com/SublimeText/Dictionaries. After you have downloaded a dictionary (*.dic) add this file to the current config path of sublime. In my case “/home/{USER}/.config/sublime-text-2/Packages/User”.
Some further information can be found at: