From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Williams, Ken" Subject: Can't get dvipng to work Date: Mon, 16 Sep 2013 21:21:32 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_DB9AE166BFBB0640B307A82E6F93D02610E83ESPEXCH02WindLogic_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLgYz-0007Lg-0h for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 17:42:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLgYt-00011q-Vp for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 17:42:32 -0400 Received: from owa.windlogics.com ([216.245.170.169]:64335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLgYt-00011j-Nv for emacs-orgmode@gnu.org; Mon, 16 Sep 2013 17:42:27 -0400 Content-Language: en-US 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" --_000_DB9AE166BFBB0640B307A82E6F93D02610E83ESPEXCH02WindLogic_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I have a small orgmode document with a \begin{align} section for a few equa= tions. 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. Here's my document: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #+TITLE: Test Doc #+AUTHOR: Ken Williams #+PROPERTY: results output #+PROPERTY: exports both #+OPTIONS: tex:dvipng Some math: \begin{align} a_{11}& =3Db_{11}& a_{12}& =3Db_{12}\\ a_{21}& =3Db_{21}& a_{22}& =3Db_{22}+c_{22} \end{align} =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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-late= x-create-formula-image-program dvipng". Any hints? There are no clues in the *Messages* buffer. My org-mode is Org-mode version 7.9.4. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com ________________________________ CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the inte= nded recipient(s) and may contain confidential and privileged information. = Any unauthorized review, use, disclosure or distribution of any kind is str= ictly prohibited. If you are not the intended recipient, please contact the= sender via reply e-mail and destroy all copies of the original message. Th= ank you. --_000_DB9AE166BFBB0640B307A82E6F93D02610E83ESPEXCH02WindLogic_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

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 tr= ying to use dvipng.  Unfortunately it keeps exporting with MathJax.

 

Here’s my document:

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

#+TITLE: Test Doc

#+AUTHOR: Ken Williams

#+PROPERTY: results output

#+PROPERTY: exports both

#+OPTIONS: tex:dvipng

 

Some math:

 

\begin{align}

a_{11}& =3Db_{11}&

a_{12}& =3Db_{12}\\

a_{21}& =3Db_{21}&

a_{22}& =3Db_{22}+c_{22}

\end{align}

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 

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".

 

Any hints?  There are no clues in the *Messages= * buffer.

 

My org-mode is Org-mode version 7.9.4.

 

 

--

Ken Williams, Senior Research Scientist

Wind<= /b>Logics<= /p>

http://windlogics.com

 




CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the inte= nded recipient(s) and may contain confidential and privileged information. = Any unauthorized review, use, disclosure or distribution of any kind is str= ictly prohibited. If you are not the intended recipient, please contact the sender via reply e-mail and des= troy all copies of the original message. Thank you.
--_000_DB9AE166BFBB0640B307A82E6F93D02610E83ESPEXCH02WindLogic_-- 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! From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Re: Can't get dvipng to work Date: Wed, 18 Sep 2013 16:37:56 +0000 (UTC) Message-ID: References: <87eh8ov2x2.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMKlk-0006VC-VF for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 12:38:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMKle-0000Ya-Q0 for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 12:38:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:48346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMKle-0000YS-Il for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 12:38:18 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VMKlb-0003HP-CM for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 18:38:16 +0200 Received: from shrimp.windlogics.com ([216.245.170.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Sep 2013 18:38:15 +0200 Received: from kenahoo by shrimp.windlogics.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Sep 2013 18:38:15 +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 Rasmus gmx.us> writes: > > So in short I think the easiest course of action is upgrading to the > newest release, e.g. using ELPA (M-x list-packages). I agree - I'm trying to update now. I hadn't used ELPA before, so I tried that route and I'm getting a ton of 'ox-*' related errors like this: ------------------ Compiling file c:/Users/kwilliams/.emacs.d/elpa/org-20130916/ox-ascii.el at Wed Sep 18 11:30:24 2013 ox-ascii.el:41:1:Error: Symbol's value as variable is void: org-list-allow- alphabetical Compiling file c:/Users/kwilliams/.emacs.d/elpa/org-20130916/ox-beamer.el at Wed Sep 18 11:30:24 2013 ox-beamer.el:117:1:Error: Symbol's value as variable is void: org-list- allow-alphabetical Compiling file c:/Users/kwilliams/.emacs.d/elpa/org-20130916/ox-html.el at Wed Sep 18 11:30:24 2013 ox-html.el:37:1:Error: Symbol's value as variable is void: org-list-allow- alphabetical ... ------------------ I can try installing manually but it would be great if I could get ELPA working. -Ken From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Re: Can't get dvipng to work Date: Wed, 18 Sep 2013 18:29:15 +0000 (UTC) Message-ID: References: <87eh8ov2x2.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMMVT-0002K8-O5 for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 14:29:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMMVL-0000V6-Mu for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 14:29:43 -0400 Received: from plane.gmane.org ([80.91.229.3]:39436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMMVL-0000Uv-Fx for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 14:29:35 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VMMVK-0004TH-40 for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 20:29:34 +0200 Received: from shrimp.windlogics.com ([216.245.170.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Sep 2013 20:29:34 +0200 Received: from kenahoo by shrimp.windlogics.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Sep 2013 20:29:34 +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 gmail.com> writes: > I can try installing manually but it would be great if I could get ELPA > working. So I installed org-8.1.2 manually and now it does seem to be *trying* to process the images through LaTeX. But it's not succeeding. In the *Messages* buffer, I see this: -------------------- Creating LaTeX Image... Failed to create dvi file from c:/Users/KWILLI~1/AppData/Local/Temp/orgtex6488Qq2.tex -------------------- I pasted the contents of ~/AppData/Local/Temp/orgtex6488Qq2.log here, but I don't see anything strange in it: https://gist.github.com/kenahoo/6613374 -Ken From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Can't get dvipng to work Date: Wed, 18 Sep 2013 21:43:50 -0400 Message-ID: <87eh8lio15.fsf@gmail.com> References: <87eh8ov2x2.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMTHu-0006cQ-MQ for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 21:44:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMTHo-0006Np-Rj for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 21:44:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:35353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMTHo-0006Nc-Hf for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 21:44:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VMTHk-0000DZ-Tv for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 03:44:00 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Sep 2013 03:44:00 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Sep 2013 03:44:00 +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: > Ken Williams gmail.com> writes: > >> I can try installing manually but it would be great if I could get ELPA >> working. > > So I installed org-8.1.2 manually and now it does seem to be *trying* to > process the images through LaTeX. But it's not succeeding. In the *Messages* > buffer, I see this: > > -------------------- > Creating LaTeX Image... > Failed to create dvi file from > c:/Users/KWILLI~1/AppData/Local/Temp/orgtex6488Qq2.tex > -------------------- > > I pasted the contents of ~/AppData/Local/Temp/orgtex6488Qq2.log here, but I > don't see anything strange in it: > > https://gist.github.com/kenahoo/6613374 > What happens if you run latex on the tex file by hand? On Linux, I would say cd .../Local/Temp latex orgtex6488Qq2.tex I presume something similar would work on Windows. -- Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Re: Can't get dvipng to work Date: Thu, 19 Sep 2013 21:24:10 +0000 (UTC) Message-ID: References: <87eh8ov2x2.fsf@gmx.us> <87eh8lio15.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMliH-00027y-8r for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 17:24:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMliB-0004ag-DH for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 17:24:37 -0400 Received: from plane.gmane.org ([80.91.229.3]:35243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMliB-0004ab-6p for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 17:24:31 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VMli8-0004Ec-Dh for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 23:24:29 +0200 Received: from shrimp.windlogics.com ([216.245.170.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Sep 2013 23:24:28 +0200 Received: from kenahoo by shrimp.windlogics.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Sep 2013 23:24:28 +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 Nick Dokos gmail.com> writes: > > Ken Williams gmail.com> writes: > > > I pasted the contents of ~/AppData/Local/Temp/orgtex6488Qq2.log here, but I > > don't see anything strange in it: > > > > https://gist.github.com/kenahoo/6613374 > > > > What happens if you run latex on the tex file by hand? > It succeeds: % latex orgtex6488Qq2.tex ... Output written on orgtex6488Qq2.dvi (1 page, 1304 bytes). Transcript written on orgtex6488Qq2.log. Additionally, if I run pdflatex manually on the tex file, the output is sensible. I don't know how to verify that the tex/latex Emacs is running is the same as the one I get at the command line - nor whether the failure is during tex/latex or during dvipng. 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 00:22:03 +0200 Message-ID: <87six0xxis.fsf@gmx.us> References: <87eh8ov2x2.fsf@gmx.us> <87eh8lio15.fsf@gmail.com> 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]:54120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMmcB-0004Fd-Kg for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 18:22:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMmc4-0005i3-Am for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 18:22:23 -0400 Received: from plane.gmane.org ([80.91.229.3]:60137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMmc4-0005h8-4G for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 18:22:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VMmc1-0004qy-Ts for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 00:22:13 +0200 Received: from dynamic-adsl-94-34-240-188.clienti.tiscali.it ([94.34.240.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Sep 2013 00:22:13 +0200 Received: from rasmus by dynamic-adsl-94-34-240-188.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Sep 2013 00:22:13 +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: > Nick Dokos gmail.com> writes: > It succeeds: > > % latex orgtex6488Qq2.tex > ... > Output written on orgtex6488Qq2.dvi (1 page, 1304 bytes). > Transcript written on orgtex6488Qq2.log. Then try to run dvipng FILE.dvi or perhaps just dvipng FILE. Does this work? –Rasmus -- May the Force be with you From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Re: Can't get dvipng to work Date: Fri, 20 Sep 2013 15:04:12 +0000 (UTC) Message-ID: References: <87eh8ov2x2.fsf@gmx.us> <87eh8lio15.fsf@gmail.com> <87six0xxis.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN2G9-000168-Ak for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 11:04:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VN2G2-0006Ro-VP for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 11:04:41 -0400 Received: from plane.gmane.org ([80.91.229.3]:49653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN2G2-0006RX-Ol for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 11:04:34 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VN2G0-00008j-IQ for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 17:04:32 +0200 Received: from shrimp.windlogics.com ([216.245.170.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Sep 2013 17:04:32 +0200 Received: from kenahoo by shrimp.windlogics.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Sep 2013 17:04:32 +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 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: % dvipng orgtex6488Qq2.dvi This is dvipng 1.14 Copyright 2002-2010 Jan-Ake Larsson [1] % ls -ltr orgtex6488Qq2* -rwx------+ 1 Administrators 1317 Sep 18 13:21 orgtex6488Qq2.tex* -rw-r--r--+ 1 kwilliams 75721 Sep 19 16:17 orgtex6488Qq2.pdf -rw-r--r--+ 1 kwilliams 8 Sep 19 16:20 orgtex6488Qq2.aux -rw-r--r--+ 1 kwilliams 1304 Sep 19 16:20 orgtex6488Qq2.dvi -rwx------+ 1 Administrators 17216 Sep 19 16:22 orgtex6488Qq2.log* -rw-r--r--+ 1 kwilliams 3883 Sep 20 09:51 orgtex6488Qq21.png This would probably be a lot easier to debug if the emacs logs included the command line strings that are being run. -Ken 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!