SublimeText/LaTeXTools — pull request #69 by cwwwu (2012-09-07 03:43:01+00:00)
Title: Include support for defining TEX root in sublime-project file

What this pull request entails is support for using and specifying the TEX root in sublime projects. The TEX root is specified as follow in a sublime-project file:

{
...
"settings":
{
...
"TEXroot": "/path/to/TEXroot"
...
}
...
}

This does not deprecate the existing TEX root features. Instead, these changes will enforce the following search priority whenever the TEX root is required:

1. Search sublime-project file for TEXroot key
2. If no TEXroot key is found, search file in active view for `%!TEX root = `
3. If `%!TEX root = ` does not exist, TEX root is the current file in active view

NOTE: This pull request includes the patch from Westacular@ead3a9273e72dfb8c481cf39de5e9c46aa90e261 (Issue #67).