Converted document (crudely) to LaTeX.