I used \LaTeX to get the LaTeX logo in my .tex file. However, converting it to pdf with:
pandoc file.tex -o file.pdf
produces a file that doesn't have the correctly formatted LaTeX logo. However, pdflatex works just fine.
How do I resolve this?
EDIT: Minimal example:
\documentclass{article}
\begin{document}
\LaTeX{} is a program for typesetting documents.
\end{document}

pdflatexengine for conversion. If I take the one-liner from above:\LaTeX is a program for typesettingand save it as logo.md and process it
pandoc logo.md -o logo.pdfthe result is as expected (a correctly displayed logo). If you "just" have a complete
– blue_tiger300 Mar 17 '16 at 08:26.texfile, I would rather use thepdflatexcommand directly..texfile, and thepdflatexcommand directly works. (I'm left wondering why, though). – naiveai Mar 17 '16 at 08:34-sautomatically and uses its internal template to generate the pdf. My guess is that there is clash between your full .tex document and the template. But then again it is just a guess. Maybe you want to open a ticket on the pandoc github site?! – blue_tiger300 Mar 17 '16 at 09:07pandoc file.tex -o file.pdf? Why are you running pandoc on a latex file? – DG' Mar 17 '16 at 10:14