SublimeText/LaTeXTools — pull request #70 by jrast (2012-09-07 17:47:09+00:00)
Title: Project File Support for TEXroot

I have used the changes of @cwwwu in Pull Request #69 as a base but moved all operations about getting the main file to getTexRoot.py

Now you can define your Main file by adding `%TEXroot = ` or one of the following example project files:

```
{
"folders":
[
{
// Relative or absolute Path to the folder which contains the whole project
"path": "/"
}
],
"settings":
{
// Relative Path to the Main Latex File as seen from the project root
// or absolute path of the mainfile (if you don't want to use a folder)
"TEXroot" : "ElMasch.tex"
}
}
```

I have tested it on different projects and it seem to work quite well.