Proper LaTeX compilation/sync in OSX