Add tex option

Add and option to produce a .tex file as output using Pandoc. I found this useful when I was writing large documents, allowed me to then use tools like latexmk or texcount. Let me know what you think.