textmate/latex.tmbundle — pull request #78 by hesstobi (2014-03-10 11:53:52+00:00)
Title: [NEW] run makeglossaries command if glsdefs file exists

The package glossaries (http://www.ctan.org/pkg/glossaries) provides a flexible solution to manage acronyms and symbols. It comes with the makeglossaries perl script which automates the whole indexing process. So this is my favorite list of acronyms and symbols package.
The current latex.tmbundle only implements the makeindex command. Thus this pull request add a implementation to run the makeglossaries command if the glsdefs file exists. Following changes are made:

* Add the run_makelossaries() method to texMate.py which will call the makeglossaries command and parse the Output with the MakeGlossariesParser
* Change the behavior of `texCommand == 'index'` which will now call the run_makeglossaries() method if the glsdef file exist. If this file not exists it will still run the makeindex command
* Change the button "Run Makeindex" to "Make Glossaries" if the glsdef file exits.
* Add MakeGlossariesParser Class to texparser.py to provides basic Parse of the Error Messages form the makeglossaires command