I've managed to install MateX with all prerequisites. pdflatex and GhostScript paths are correctly specified. I am able to load it into Mathematica. However, a simple command such as MaTeX[x^2] gives me a MaTeX::texerr : LaTeX Error titled "Missing \begin{document}".
Has anyone faced a similar issue? Any help would be much appreciated..!
Thanks,
SystemOpen@FileNameJoin[{$UserBaseDirectory, "Applications"}]
$\endgroup$