bug fix for syntax error in Domain function (compileLatex)