abort if rst2beamer command doesn't succeed