Add $(LATEX) macro that only expands while generating LaTeX code