From 393f49038624dd388fa1059c1cf1e210e8ca3fb6 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 12 Nov 2016 01:21:25 +0100 Subject: [PATCH] Remove dependency on "gs" for preview LaTeX * lisp/org.el (org-preview-latex-process-alist): Remove "gs" requirement. Reported-by: Frederick Giasson --- lisp/org.el | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 40b177f63..81f4e5f1d 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -4078,18 +4078,18 @@ All available processes and theirs documents can be found in (defcustom org-preview-latex-process-alist '((dvipng - :programs ("latex" "dvipng" "gs") + :programs ("latex" "dvipng") :description "dvi > png" - :message "you need to install the programs: latex, dvipng and ghostscript." + :message "you need to install the programs: latex and dvipng." :image-input-type "dvi" :image-output-type "png" :image-size-adjust (1.0 . 1.0) :latex-compiler ("latex -interaction nonstopmode -output-directory %o %f") :image-converter ("dvipng -fg %F -bg %B -D %D -T tight -o %o%b.png %f")) (dvisvgm - :programs ("latex" "dvisvgm" "gs") + :programs ("latex" "dvisvgm") :description "dvi > svg" - :message "you need to install the programs: latex, dvisvgm and ghostscript." + :message "you need to install the programs: latex and dvisvgm." :use-xcolor t :image-input-type "dvi" :image-output-type "svg" @@ -4097,10 +4097,9 @@ All available processes and theirs documents can be found in :latex-compiler ("latex -interaction nonstopmode -output-directory %o %f") :image-converter ("dvisvgm %f -n -b min -c %S -o %o%b.svg")) (imagemagick - :programs ("latex" "convert" "gs") + :programs ("latex" "convert") :description "pdf > png" - :message - "you need to install the programs: latex, imagemagick and ghostscript." + :message "you need to install the programs: latex and imagemagick." :use-xcolor t :image-input-type "pdf" :image-output-type "png"