On Wednesday, 29 Jan 2020 at 08:39, Alan Schmitt wrote:
> 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?
Your example works for me. Maybe you need other packages as well
(e.g. tikz itself)?
I don't know the best way to debug, however
First of all: look into the *Org PDF LaTeX Output* buffer to see why the compilation failed?
Then look into the .tex file header to see if something is missing.
Fabrice