Convert the LaTeX submission to the competition's format.