From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: latex command for org-preview-latex-fragment Date: Fri, 30 Dec 2011 10:24:07 -0500 Message-ID: <1545147.q01IgFFdgX@arch-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgeKg-0008WS-Eo for Emacs-orgmode@gnu.org; Fri, 30 Dec 2011 10:25:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RgeKf-0006Km-Fa for Emacs-orgmode@gnu.org; Fri, 30 Dec 2011 10:25:22 -0500 Received: from mail-qw0-f41.google.com ([209.85.216.41]:45134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgeKf-0006Kf-DC for Emacs-orgmode@gnu.org; Fri, 30 Dec 2011 10:25:21 -0500 Received: by qabg40 with SMTP id g40so7060716qab.0 for ; Fri, 30 Dec 2011 07:25:20 -0800 (PST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode Hello all, I'm having troubel getting org-preview-latex-fragment to work when using minted for exported code highlighting. Checking the log files in /tmp/orgtex<...>.log I find that tex fails with the error message "Package minted Error: You must invoke LaTeX with the -shell-escape flag". OK, that's helpful, except that I can't figure out where/how to change the tex command called by org-preview-latex-fragment. Is this configurable in org-mode settings? Or does it depend on some option in the auctex or preview packages? Thanks for any help, Ista