From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: html export with imagemagick Date: Thu, 23 May 2019 09:53:55 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f8980405898962b4" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:39752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTiYE-0004Ze-Ri for emacs-orgmode@gnu.org; Thu, 23 May 2019 03:54:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTiYD-0000TY-Mg for emacs-orgmode@gnu.org; Thu, 23 May 2019 03:54:10 -0400 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:44280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hTiYD-0000T3-7i for emacs-orgmode@gnu.org; Thu, 23 May 2019 03:54:09 -0400 Received: by mail-lf1-x129.google.com with SMTP id n134so3652910lfn.11 for ; Thu, 23 May 2019 00:54:09 -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: Ivan Tadeu Ferreira Antunes Filho Cc: "Liste-emacs-orgmode@gnu.org" --000000000000f8980405898962b4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Many thanks Ivan. In reading the log file in /tmp I understood the problem that is not an org-mode issue, but a latex one: some parts needed '$$' tags. Anyway, thanks for your reply. Best wishes, Jo. Le mer. 22 mai 2019 =C3=A0 21:46, Ivan Tadeu Ferreira Antunes Filho < ivanaf@mit.edu> a =C3=A9crit : > 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 >> > --000000000000f8980405898962b4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Many thanks Ivan. In reading the log file = in /tmp I understood the problem that is not an org-mode issue, but a latex= one: some parts needed '$$' tags.=C2=A0
= Anyway, thanks for your reply.

Best wishes,

Jo= .

Le=C2=A0mer. 22 mai 2019 =C3=A0=C2=A021:46, Ivan Tadeu Ferreira= Antunes Filho <ivanaf@mit.edu>= a =C3=A9crit=C2=A0:
I was having the same problem on some latex pre= views. It seems that imagemagick expects the file to be in the /tmp/ direct= ory while latex itself was putting the file in the same directory.

My workaround was to use 'dv= isvgm 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=C2= =A0org-latex-create-formula-image-program=C2=A0

Not a solution, just a simp= le workaround.

On Wed, May 22, 2019, 15:39 Joseph Vidal-Rosset <= ;joseph.= vidal.rosset@gmail.com> wrote:
Hello the list,

I try desperately to expo= rt an org file to html with imagemagick option (an not mathjax), and I have= this error message:

convert-im6.q16: no images defin= ed `/tmp/orgtexlyqPro.png' @ error/convert.c/ConvertImageCommand/3258.<= br>org-compile-file: File "/tmp/orgtexlyqPro.png" wasn=E2=80=99t = produced.=C2=A0 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=C2=A0 (=3D init file)=C2=A0 :
<= /div>

(setq org-latex-create-formu= la-image-program 'imagemagick)

Any help is welcome,

Best wishes,

Jo. =
_______________________________________________
Ita mailing list
Ita@mit= .edu
http://mailman.mit.edu/mailman/listinfo/ita
--000000000000f8980405898962b4--