converted demo2.tex into markdown format--easier