Move the master file detection into options.rb Changed: U trunk/Bundles/Latex.tmbundle/Commands/Open Included Item.tmCommand U trunk/Bundles/Latex.tmbundle/Support/lib/options.rb