Hello, I'm trying to add some diagrams in a note, and I want to use latex preview for that. Unfortunately the result is not what I expect: I do see an image, but there seem to be errors in the latex processing. How can I see what latex is produced to find where the issue is?
To be precise, my note has this: \begin{tikzcd} A \arrow[r, "u"] \arrow[d, "i"] & B \arrow[d, "f"] \\ C \arrow[r, "v"] & D \end{tikzcd} and I have put this in my configuration files: (add-to-list 'org-latex-packages-alist '("" "tikz-cd" t nil)) The following latex file compiles correctly: \documentclass{article} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} A \arrow[r, "u"] \arrow[d, "i"] & B \arrow[d, "f"] \\ C \arrow[r, "v"] & D \end{tikzcd} \end{document} So I expect I misconfigured something. Is my org-latex-packages-alist setting wrong? Thanks, Alan