First unfinished draft of latex compiler. It will successfully create a .tex file but probably not the pdf, as I was forced to hardcode the position of 'pdflatex' which seems to be system specific. I will create an issue.