Why the separate check to see if it's UNDEFINED? Isn't UNDEFINED a falsy value? Does this piece of logic still work properly if you take that check out, and simply do `... and enable_latex_compiler %>`?