The problem went away once i changed the values for both TEMP and TMP
environment variables to C:\Temp (without quotation marks). This---i
think---has to do with long filenames (path to TEMP folder).
Great, great job by the way. Org makes so much things easier. Thank you
very much!
2013/10/13 Vicente Vera vicente...@gmail.com
Hello. I'm trying to export an Org file with some basic latex code (block
with #+BEGIN_SRC latex :file block1.png and tex:dvipng in #+OPTIONS:)
but this shows up in the *Messages* buffer:
org-babel-exp processing...
executing Latex code block (block1)...
Failed to create dvi file from
c:/DOCUME~1/User1/CONFIG~1/Temp/orgtex1376-zt.tex
Code block evaluation complete.
Formatting LaTeX using dvipng
The ODT document is created but, obviously, without the PNG formulas. It
happens too with inline LaTeX fragments:
Creating LaTeX Image 1...
Failed to create dvi file from
c:/DOCUME~1/User1/CONFIG~1/Temp/orgtex124_dQ.tex
Embedding c:/Documents and Settings/User1/My
documents/testodt/ltxpng/testodt_0d00b93575360a27f804d102a03f4e2d4ee0f915.png
as Images/0001.png...
OpenDocument export failed: Copying file: no such file or directory,
c:/Documents and Settings/User1/My
documents/testodt/ltxpng/testodt_0d00b93575360a27f804d102a03f4e2d4ee0f915.png,
c:/DOCUME~1/User1/CONFIG~1/Temp/odt-124Zro/Images/0001.png
Org's LaTeX preview doesn't work either. The dvi files are not being
created.
My setup includes:
- Windows XP SP3
- Emacs 24.3.1 with Org 8.2.1 (20131007 from ELPA) and AUCTeX 11.87.1
(from ELPA); everything correctly (and cleanly) installed
- TeX Live 2013 (full install), on Windows' PATH
Standalone dvipng works ok (tried it with a small dvi file through Windows
command line) and latex too (through cmd, Org---latex pdf export--- and
AUCTeX).
Thanks for reading.