emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vicente Vera <vicentemvp@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: latex to png not working
Date: Tue, 15 Oct 2013 00:03:35 -0300	[thread overview]
Message-ID: <CAMfbzvDPLS1eqXJ=7TZH1035Z3Vq4q4-yJMqsVBcGxzP8kDUjw@mail.gmail.com> (raw)
In-Reply-To: <CAMfbzvAERZ-wj1=_+1ziyc1NHCN73WXnAaB4df6jGqZWC=DWNg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1905 bytes --]

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 <vicentemvp@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.
>

[-- Attachment #2: Type: text/html, Size: 2489 bytes --]

      reply	other threads:[~2013-10-15  3:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-13 15:54 latex to png not working Vicente Vera
2013-10-15  3:03 ` Vicente Vera [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMfbzvDPLS1eqXJ=7TZH1035Z3Vq4q4-yJMqsVBcGxzP8kDUjw@mail.gmail.com' \
    --to=vicentemvp@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).