emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Can't get dvipng to work
Date: Fri, 20 Sep 2013 20:48:36 +0200	[thread overview]
Message-ID: <87bo3nwcqj.fsf@gmx.us> (raw)
In-Reply-To: loom.20130920T170054-282@post.gmane.org

Ken Williams <kenahoo@gmail.com> writes:

> Rasmus <rasmus <at> gmx.us> writes:
>>
>> Then try to run dvipng FILE.dvi or perhaps just dvipng FILE.  Does
>> this work?
>
> Yes, it produces a proper output PNG that looks good, but note that the base
> filename has a '1' appended:

That's weird, but I can reproduce it here.  It's follows from the
manpage

 -o name
     Send output to the file name. A single occurrence of %d or
     %01d, ..., %09d will be exchanged for the physical page
     number (this can be changed, see the --dvinum switch). The
     default output filename is file%d.png where the input DVI
     file was file.dvi.

> This would probably be a lot easier to debug if the emacs logs included the
> command line strings that are being run.

This is untested, but try to do:

C-h f org-create-formula-image-with-dvipng

click on org.el link

with the cursor on the within the defun do
M-x edebug-defun

Create simple document an make Org call dvipng.

–Rasmus

--
If you can mix business and politics wonderful things can happen!

      reply	other threads:[~2013-09-20 18:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-16 21:21 Can't get dvipng to work Williams, Ken
2013-09-16 22:04 ` Rasmus
2013-09-18 16:37   ` Ken Williams
2013-09-18 18:29     ` Ken Williams
2013-09-19  1:43       ` Nick Dokos
2013-09-19 21:24         ` Ken Williams
2013-09-19 22:22           ` Rasmus
2013-09-20 15:04             ` Ken Williams
2013-09-20 18:48               ` Rasmus [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=87bo3nwcqj.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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).