Write undergraduate thesis with pandoc markdown and LaTeX.