The macro did not work as expected if the current equation was at the end of a line. Changed: U trunk/Bundles/Latex experimental.tmbundle/Macros/Enclose current equation in $.plist