emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ivan Tadeu Ferreira Antunes Filho <ivanaf@mit.edu>
To: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
Cc: "Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: html export with imagemagick
Date: Wed, 22 May 2019 15:46:01 -0400	[thread overview]
Message-ID: <CAHPpCdA+UgbHCuPEmdT7aK3aumL0d7+ewvRWeqyjDtz2bFiC6g@mail.gmail.com> (raw)
In-Reply-To: <CAD-VTcF663TBVjdF2_vt5ogEY1q0Y9=XAZ=NSwThBxPbArhP0Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]

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’t produced.  Please
>> adjust ‘imagemagick’ part of ‘org-preview-latex-process-alist’.
>>
>
> I have in my user.el  (= 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
>

[-- Attachment #2: Type: text/html, Size: 3754 bytes --]

  reply	other threads:[~2019-05-22 19:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-22 19:26 html export with imagemagick Joseph Vidal-Rosset
2019-05-22 19:46 ` Ivan Tadeu Ferreira Antunes Filho [this message]
2019-05-23  7:53   ` Joseph Vidal-Rosset

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHPpCdA+UgbHCuPEmdT7aK3aumL0d7+ewvRWeqyjDtz2bFiC6g@mail.gmail.com \
    --to=ivanaf@mit.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=joseph.vidal.rosset@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).