Apply ERB template processing to a Latex file and compile it to a PDF