From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Can't get dvipng to work Date: Tue, 17 Sep 2013 00:04:41 +0200 Message-ID: <87eh8ov2x2.fsf@gmx.us> References: 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]:42438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLguj-0001l4-FG for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 18:05:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLgud-0007IR-9k for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 18:05:01 -0400 Received: from plane.gmane.org ([80.91.229.3]:46647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLgud-0007IH-2V for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 18:04:55 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VLgub-0004tb-BP for emacs-orgmode@gnu.org; Tue, 17 Sep 2013 00:04:53 +0200 Received: from dynamic-adsl-94-34-162-209.clienti.tiscali.it ([94.34.162.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Sep 2013 00:04:53 +0200 Received: from rasmus by dynamic-adsl-94-34-162-209.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Sep 2013 00:04:53 +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 Hi Ken, So in short I think the easiest course of action is upgrading to the newest release, e.g. using ELPA (M-x list-packages). "Williams, Ken" writes: > I have a small orgmode document with a \begin{align} section for a few > equations. I can successfully export to HTML using MathJax, but I > need a nice little self-contained document, so I'm trying to use > dvipng. Unfortunately it keeps exporting with MathJax. I cannot reproduce using emacs -q. Does it work as expected when you try from emacs -q? Are you using the new exporter? It's named ox now, but it might be org-export in your version. In v8 you'd need to require ox-html. Have you tried your document with v8? > Here's my document: > > ========================================= > #+TITLE: Test Doc > #+AUTHOR: Ken Williams > #+PROPERTY: results output > #+PROPERTY: exports both > #+OPTIONS: tex:dvipng > > Some math: > > \begin{align} > a_{11}& =b_{11}& > a_{12}& =b_{12}\\ > a_{21}& =b_{21}& > a_{22}& =b_{22}+c_{22} > \end{align} > ========================================= > > The value of my "org-latex-create-formula-image-program" variable is > dvipng - I set it manually from within the editor by doing > "set-variable org-latex-create-formula-image-program dvipng". Do you have dvipng installed? I install it via texlive, e.g. tlmgr install dvipng > Any hints? There are no clues in the *Messages* buffer. > > My org-mode is Org-mode version 7.9.4. Mine is: Org-mode version 8.1.2 (release_8.1.2 @ /usr/share/emacs/site-lisp/org/) –Rasmus -- Summon the Mothership!