From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Preview LaTeX fragment not working (for me) Date: Wed, 11 Sep 2013 11:32:31 +0200 Message-ID: <87mwnju2j4.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJgnF-0006Y8-Ty for emacs-orgmode@gnu.org; Wed, 11 Sep 2013 05:33:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJgn8-00014p-8O for emacs-orgmode@gnu.org; Wed, 11 Sep 2013 05:33:01 -0400 Received: from plane.gmane.org ([80.91.229.3]:60774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJgn8-00014c-1J for emacs-orgmode@gnu.org; Wed, 11 Sep 2013 05:32:54 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VJgn5-0000VQ-OU for emacs-orgmode@gnu.org; Wed, 11 Sep 2013 11:32:51 +0200 Received: from 31.55.37.175 ([31.55.37.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Sep 2013 11:32:51 +0200 Received: from rasmus by 31.55.37.175 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Sep 2013 11:32:51 +0200 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@gnu.org Hi Evan, Evan Misshula writes: > I am trying to Preview LaTeX fragment (11.7.4). I have the preview > working in Preview LaTeX but when I (C-c C-x C-l) org-mode shows empty > boxes. AUCTeX Preview LaTeX didn't work with Org last time I tried, but I'm not sure whether you're referring to this or Org's preview capabilities (which lack a bit behind AUCTeX's). > #+LATEX_HEADER: \usepackage{tikz} > #+LATEX_HEADER: \usepackage{attrib} > #+LATEX_HEADER: \usepackage{amsmath} > #+LATEX_HEADER: > \usepackage{/home/evan/Documents/chicago/learning/Causality/bug.sty} > #+LATEX_HEADER: \let\iint\undefined > #+LATEX_HEADER: \let\iiint\undefined > #+LATEX_HEADER: \usepackage{dsfont} > #+LATEX_HEADER: \usepackage[retainorgcmds]{IEEEtrantools} Do try to cut it to a minimum example and use less exotic packages. I don't want to install new packages for the sake of trying your example. In any case, it's probably a conflict of packages (some functions may be defined twice). On my system the files used to generate images are stored in the root of /tmp (on a GNU/Linux system). Also, check out the variable org-format-latex-header. Also, on previewing in general: Do you use org entities? They make stuff like this pretty readable. If you need more readability you can even create math matrices with Org-tables. Hope it helps, Rasmus -- C is for Cookie