(This took a long time to research, so I'm answering my own question, hoping to save others some time)

Let's say I have a file like this:

one by two is $\froc1{2}$

When I run M-x org-preview-latex-fragment, all I get is a white square indicating that something went wrong and in the *Messages* buffer the line:

Cannot find image file ‘/home/.../ltxpng/....png’

How can I view the error message?


As suggested here https://stackoverflow.com/a/5291339/3014199 look for a file in /tmp something like /tmp/orgtex*.log.
That works on my linux machine at least.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.