emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
To: Ivan Tadeu Ferreira Antunes Filho <ivanaf@mit.edu>
Cc: "Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: html export with imagemagick
Date: Thu, 23 May 2019 09:53:55 +0200	[thread overview]
Message-ID: <CAD-VTcGZNa==1hrdfeNkr8VdMoONtdKcDo3C8Q2sKc79mZ9kJA@mail.gmail.com> (raw)
In-Reply-To: <CAHPpCdA+UgbHCuPEmdT7aK3aumL0d7+ewvRWeqyjDtz2bFiC6g@mail.gmail.com>

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

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 à 21:46, Ivan Tadeu Ferreira Antunes Filho <
ivanaf@mit.edu> a écrit :

> 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: 4953 bytes --]

      reply	other threads:[~2019-05-23  7:54 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
2019-05-23  7:53   ` Joseph Vidal-Rosset [this message]

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='CAD-VTcGZNa==1hrdfeNkr8VdMoONtdKcDo3C8Q2sKc79mZ9kJA@mail.gmail.com' \
    --to=joseph.vidal.rosset@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ivanaf@mit.edu \
    /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).