I would like to convert math.stackexchange style plain text markdown with embedded latex equations to PDF and Doc formats. I've tried using pandoc, but keep getting bad PDF's.
For example, if I type pandoc mmn11 -o mmn11.pdf
, I get an output file that looks allot like html when I open it in a text editor and when I try and open it with Document Viewer in Ubuntu, I get an error that it doesn't support plain text.
Any ideas what's going on?
Edit:
Pandoc does the conversion to ODT, but doesn't seem to understand simple latex tags like \frac
. Some of the latex tags get rendered, but other's don't. I'm pulling my hair out. If I cut and paste the text into cs.stackexchange, everything renders perfectly.