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.
mmn11$ pandoc -vand got: pandoc 1.5.1.1 – Robert S. Barnes Mar 27 '13 at 06:08markdown2pdf, I guess I'll have to install something recent to get docx. Thanks. – Robert S. Barnes Mar 27 '13 at 12:19