From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Question on latex source block Date: Mon, 10 Sep 2012 16:53:37 -0400 Message-ID: <7998.1347310417@alphaville.americas.hpqcorp.net> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBAzK-0001ta-3P for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 16:53:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBAzG-0000bz-2p for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 16:53:45 -0400 Received: from g4t0017.houston.hp.com ([15.201.24.20]:7057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBAzF-0000bq-RC for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 16:53:41 -0400 In-Reply-To: Message from Richard Stanton of "Mon, 10 Sep 2012 13:43:02 PDT." 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: Richard Stanton Cc: "emacs-orgmode@gnu.org" , "eric.schulte@gmx.com" Richard Stanton wrote: > The *Messages* buffer did indeed show something: > > "Failed to create dvi file from > /var/folders/zf/bgjm4tvs3wv_6q7_6z3b2nx00000gn/T/orgtex64181Q3t.tex" > > > Checking the log file in that directory, I saw squawking about missing "$" > signs around the mathematical expression. Adding these, so the block now > reads > > #+begin_src latex :file test.png :results raw > $\frac{1}{2}$ > #+end_src > > it now compiles and displays perfectly. > > Ah, right - I had to add inline math delimiters too but forgot to mention it. (I prefer using \(...\) over $...$ but that's just me). Nick