Starting to rewrite to LaTeX.