From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Can't get dvipng to work Date: Fri, 20 Sep 2013 20:48:36 +0200 Message-ID: <87bo3nwcqj.fsf@gmx.us> References: <87eh8ov2x2.fsf@gmx.us> <87eh8lio15.fsf@gmail.com> <87six0xxis.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN5lB-0007Eo-5K for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 14:49:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VN5l4-000779-WE for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 14:48:57 -0400 Received: from plane.gmane.org ([80.91.229.3]:49205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN5l4-000775-Pn for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 14:48:50 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VN5l3-0001kG-3V for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 20:48:49 +0200 Received: from dynamic-adsl-94-34-248-57.clienti.tiscali.it ([94.34.248.57]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Sep 2013 20:48:49 +0200 Received: from rasmus by dynamic-adsl-94-34-248-57.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Sep 2013 20:48:49 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Ken Williams writes: > Rasmus 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!