Re: creating png images in emails with org-mode

2020-09-18 Thread Eric S Fraga
On Friday, 18 Sep 2020 at 10:08, Nick Dokos wrote: > Actually, it refers to the generation of PNG files from PDF files using > `convert' (I think). The `imagemagick' process of LaTeX preview uses > `pdflatex'to go from TeX to PDF and `convert' to go from PDF to PNG. Ah, yes, that makes sense!

Re: creating png images in emails with org-mode

2020-09-18 Thread Nick Dokos
Eric S Fraga writes: > On Thursday, 17 Sep 2020 at 00:57, Nick Dokos wrote: >> Apparently, recent versions of ImageMagick (version 7 seems to be one) >> on (perhaps) some distros ship with a >> /etc/ImageMagick-/policy.xml file that imposes restrictions >> on what can be done. Here's an SE

Re: creating png images in emails with org-mode

2020-09-17 Thread Eric S Fraga
On Thursday, 17 Sep 2020 at 00:57, Nick Dokos wrote: > Apparently, recent versions of ImageMagick (version 7 seems to be one) > on (perhaps) some distros ship with a > /etc/ImageMagick-/policy.xml file that imposes restrictions > on what can be done. Here's an SE question with some information:

Re: creating png images in emails with org-mode

2020-09-16 Thread Nick Dokos
Joseph Vidal-Rosset 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

Re: creating png images in emails with org-mode

2020-09-16 Thread Eric S Fraga
On Wednesday, 16 Sep 2020 at 13:37, Joseph Vidal-Rosset wrote: > My problem has just been solved with substituting dvipng for imagemagick: This may solve your problem but you really shouldn't be having that problem in the first place? I use imagemagick, not dvipng, and things work fine for me,

Re: creating png images in emails with org-mode

2020-09-16 Thread Joseph Vidal-Rosset
Hello, My problem has just been solved with substituting dvipng for imagemagick: (setq org-latex-create-formula-image-program 'dvipng) ; (setq org-latex-create-formula-image-program 'imagemagick) Le mer. 16 sept. 2020 à 12:03, Joseph Vidal-Rosset < joseph.vidal.ros...@gmail.com> a écrit : >

creating png images in emails with org-mode

2020-09-16 Thread Joseph Vidal-Rosset
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