emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] Latex Previewing process: imagemagick use pdflatex by defaul


From: Feng Shu
Subject: [O] [PATCH] Latex Previewing process: imagemagick use pdflatex by default
Date: Tue, 24 May 2016 12:28:51 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>From 2cce55f48773f05f1aaeed31be8a53e3f59af312 Mon Sep 17 00:00:00 2001
From: Feng Shu <address@hidden>
Date: Tue, 24 May 2016 12:06:41 +0800
Subject: [PATCH] Latex Previewing process: imagemagick use pdflatex by default

* org.el (org-preview-latex-process-alist):
---
 lisp/org.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 83ac51c..8056016 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -4033,9 +4033,9 @@ All available processes and theirs documents can be found 
in
      :image-input-type "pdf"
      :image-output-type "png"
      :image-size-adjust (1.0 . 1.0)
-     :latex-compiler ("latex -interaction nonstopmode -output-directory %o %f")
+     :latex-compiler ("pdflatex -interaction nonstopmode -output-directory %o 
%f")
      :image-converter
-     ("convert -density %S -trim -antialias %f -quality 100 %b.png")))
+     ("convert -density %D -trim -antialias %f -quality 100 %b.png")))
   "Definitions of external processes for LaTeX previewing.
 Org mode can use some external commands to generate TeX snippet's images for
 previewing or inserting into HTML files, e.g., \"dvipng\".  This variable tells
-- 
2.1.4

-- 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]