Dear all,

I'm trying to publish org files containing latex fragments, or (Preview it). My configuration used to be quite OK, but not working now, I'm not quite sure what happened. But seems org could successfully generate the *.tex file from the org file (in the %Temp%), but fail to generate the *.dvi, and so the png could not be converted.

I double checked the Latex command, it is in the %PATH%, but the latex command will trigger pdftex (I'm using MiKTeX portable 2.9), will that be the cause of the failure?

Error message:
---
Saving file e:/Var/URoot/My Dropbox/org/org/Physics.org...
Wrote e:/Var/URoot/My Dropbox/org/org/Physics.org
FOLDED
Saving file e:/Var/URoot/My Dropbox/org/org/Physics.org...
Wrote e:/Var/URoot/My Dropbox/org/org/Physics.org
SUBTREE (NO CHILDREN)
Creating images for entry...1
Failed to create dvi file from a:/TEMP/orgtex1620UMh.tex
Creating images for entry...done.  Use `C-c C-c' to remove images.
Cannot find image file `e:/Var/URoot/My Dropbox/org/org/ltxpng/Physics_f74dea7d59a672b862629c7b1f8d745672346a29.png' [4 times]
---

Thanks a lot, and happy thanksgiving day!

Chao