Support TeX, LaTeX and ConTeXt.
Merge pull request #18 from Jashank/tex

Support TeX, LaTeX and ConTeXt.