Fix for publishing beamer