emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: creating png images in emails with org-mode
Date: Thu, 17 Sep 2020 00:57:11 -0400	[thread overview]
Message-ID: <87een1uhjs.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: <CAD-VTcFGVp9ZzPCCC9Y04ZFaVf4pgaa1WgU6iK2FDLeJNauXKQ@mail.gmail.com>

Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:

> Hello,
>
> One more time, my setup to create png image via LaTeX in email in org-mode is broken.
>
> I get this error message:
>
> Creating LaTeX preview...
> org-compile-file: File "/tmp/orgtex2wp50c.png" wasn’t produced.  Please adjust ‘imagemagick’ part of ‘org-preview-latex-process-alist’.
>
> Your help is welcome, because I do not understand what I have to do, how I have to "adjust" imagemagick.
>
> Best wishes,
>
> Jo.
>

Apparently, recent versions of ImageMagick (version 7 seems to be one)
on (perhaps) some distros ship with a
/etc/ImageMagick-<version>/policy.xml file that imposes restrictions
on what can be done. Here's an SE question with some information:

    https://emacs.stackexchange.com/questions/31408/error-message-when-previewing-latex-snippet-in-org-file
    
-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler



  parent reply	other threads:[~2020-09-17  4:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-16 10:03 Joseph Vidal-Rosset
2020-09-16 11:37 ` Joseph Vidal-Rosset
2020-09-16 14:00   ` Eric S Fraga
2020-09-17  4:57 ` Nick Dokos [this message]
2020-09-17 12:27   ` Eric S Fraga
2020-09-18 14:08     ` Nick Dokos
2020-09-18 14:48       ` Eric S Fraga

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=87een1uhjs.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: creating png images in emails with org-mode' \
    /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

Code repositories for project(s) associated with this 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).