From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Tadeu Ferreira Antunes Filho Subject: Re: html export with imagemagick Date: Wed, 22 May 2019 15:46:01 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007f1b1c05897f3819" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTXC1-0004bx-Fl for emacs-orgmode@gnu.org; Wed, 22 May 2019 15:46:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTXC0-0006Sv-AA for emacs-orgmode@gnu.org; Wed, 22 May 2019 15:46:29 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:35645 helo=outgoing.mit.edu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hTXC0-0006PK-4p for emacs-orgmode@gnu.org; Wed, 22 May 2019 15:46:28 -0400 Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) (authenticated bits=0) (User authenticated as ivanaf@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id x4MJkP4p022818 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 22 May 2019 15:46:26 -0400 Received: by mail-ot1-f54.google.com with SMTP id u11so3216084otq.7 for ; Wed, 22 May 2019 12:46:26 -0700 (PDT) In-Reply-To: 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" To: Joseph Vidal-Rosset Cc: "Liste-emacs-orgmode@gnu.org" --0000000000007f1b1c05897f3819 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I was having the same problem on some latex previews. It seems that imagemagick expects the file to be in the /tmp/ directory while latex itself was putting the file in the same directory. My workaround was to use 'dvisvgm instead of 'imagemagick. (setq org-preview-latex-default-process 'dvisvgm) And when generating latex from a source block, to save the image as svg instead of png. I think the same can be done for org-latex-create-formula-image-program Not a solution, just a simple workaround. On Wed, May 22, 2019, 15:39 Joseph Vidal-Rosset < joseph.vidal.rosset@gmail.com> wrote: > Hello the list, > > I try desperately to export an org file to html with imagemagick option > (an not mathjax), and I have this error message: > > convert-im6.q16: no images defined `/tmp/orgtexlyqPro.png' @ >> error/convert.c/ConvertImageCommand/3258. >> org-compile-file: File "/tmp/orgtexlyqPro.png" wasn=E2=80=99t produced. = Please >> adjust =E2=80=98imagemagick=E2=80=99 part of =E2=80=98org-preview-latex-= process-alist=E2=80=99. >> > > I have in my user.el (=3D init file) : > > (setq org-latex-create-formula-image-program 'imagemagick) > > Any help is welcome, > > Best wishes, > > Jo. > _______________________________________________ > Ita mailing list > Ita@mit.edu > http://mailman.mit.edu/mailman/listinfo/ita > --0000000000007f1b1c05897f3819 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I was having the same problem on some latex previews= . It seems that imagemagick expects the file to be in the /tmp/ directory w= hile latex itself was putting the file in the same directory.

My workaround was to use 'dvisvgm= instead of 'imagemagick.

(setq org-previ=
ew-latex-default-process 'dvisvgm)
And when gene= rating latex from a source block, to save the image as svg instead of png.<= /div>

I think the same can be done for=C2=A0org-latex-create-formula-image-program=C2=A0

Not a solution, just a simple work= around.

--0000000000007f1b1c05897f3819--