* html export with imagemagick
@ 2019-05-22 19:26 Joseph Vidal-Rosset
2019-05-22 19:46 ` Ivan Tadeu Ferreira Antunes Filho
0 siblings, 1 reply; 3+ messages in thread
From: Joseph Vidal-Rosset @ 2019-05-22 19:26 UTC (permalink / raw)
To: Liste-emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 557 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 2057 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: html export with imagemagick
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
0 siblings, 1 reply; 3+ messages in thread
From: Ivan Tadeu Ferreira Antunes Filho @ 2019-05-22 19:46 UTC (permalink / raw)
To: Joseph Vidal-Rosset; +Cc: Liste-emacs-orgmode@gnu.org
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: html export with imagemagick
2019-05-22 19:46 ` Ivan Tadeu Ferreira Antunes Filho
@ 2019-05-23 7:53 ` Joseph Vidal-Rosset
0 siblings, 0 replies; 3+ messages in thread
From: Joseph Vidal-Rosset @ 2019-05-23 7:53 UTC (permalink / raw)
To: Ivan Tadeu Ferreira Antunes Filho; +Cc: Liste-emacs-orgmode@gnu.org
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-05-23 7:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.