From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Feng Shu" Subject: [PATCH] Latex Previewing process: imagemagick use pdflatex by default Date: Tue, 24 May 2016 12:28:51 +0800 Message-ID: <87d1oc13lo.fsf@163.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b54Ba-0008Ox-4W for emacs-orgmode@gnu.org; Tue, 24 May 2016 00:43:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b54BX-0001PA-0G for emacs-orgmode@gnu.org; Tue, 24 May 2016 00:43:18 -0400 Received: from m12-16.163.com ([220.181.12.16]:46728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b54BW-0001Mo-5Z for emacs-orgmode@gnu.org; Tue, 24 May 2016 00:43:14 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: orgmode-devel Cc: Feng Shu --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Latex-Previewing-process-imagemagick-use-pdflatex-by.patch >From 2cce55f48773f05f1aaeed31be8a53e3f59af312 Mon Sep 17 00:00:00 2001 From: Feng Shu 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 --=-=-= Content-Type: text/plain -- --=-=-=--