From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: imaxima babel Date: Fri, 22 Nov 2013 18:05:53 +0100 Message-ID: <878uwgtlhq.fsf@gmx.co.uk> References: <87li0htl9g.fsf@gmx.co.uk> <35517207.uS1ReSrXEG@descartes> <87ppptjd0s.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjuBB-0001nc-Mc for emacs-orgmode@gnu.org; Fri, 22 Nov 2013 12:06:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjuB6-00074r-Mj for emacs-orgmode@gnu.org; Fri, 22 Nov 2013 12:06:05 -0500 Received: from mout.gmx.net ([212.227.15.15]:57381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjuB6-00074Z-Cy for emacs-orgmode@gnu.org; Fri, 22 Nov 2013 12:06:00 -0500 Received: from deusexmachina ([46.39.111.188]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Ma1Mt-1VxQxF3qpz-00LjJK for ; Fri, 22 Nov 2013 18:05:59 +0100 In-Reply-To: <87ppptjd0s.fsf@gmail.com> (Eric Schulte's message of "Thu, 21 Nov 2013 16:33:19 -0700") 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: Eric Schulte Cc: =?utf-8?Q?R=C3=BCdiger?= Sonderfeld , emacs-orgmode@gnu.org Thanks, this does answer my initial question and works good enough to enable latex export!=20 Even better would be if it's possible to mimic imaxima behaviour which is (I think) to directly process the resulting latex code and (temporarily?) store it as an image to display the pretty-printed equations directly inline in the org-buffer (which will make it export as html better I guess as the latex output doesn't seem to be recognised when exporting to html). All the best, Johnny Eric Schulte writes: > Changing ":results output" to ":results output latex" in R=C3=BCdiger's n= ice > example below would probably be an improvement. > > Best, > > R=C3=BCdiger Sonderfeld writes: > >> TeX output is a feature of Maxima. See >> (info "(maxima) Functions and Variables for TeX Output") >> >> E.g. >> >> #+name: solve-maxima >> #+header: :exports results >> #+begin_src maxima :results output >> tex(exp(-x)/x); >> #+end_src >> #+RESULTS: solve-maxima >> : $${{e^ {- x }}\over{x}}$$ >> >> >> On Thursday 21 November 2013 23:58:35 yggdrasil@gmx.co.uk wrote: >>> Hi, >>>=20 >>> Is there a way to evaluate imaxima source code in org-mode to display >>> the latex output inline in the org-buffer? I have found in [1] how to >>> evaluate maxima code, but I don't understand if and how to adopt it to >>> get the nice latex/pdf output. Any pointers appreciated, or just whether >>> it is possible or not. >>>=20 >>>=20 >>> I am running emacs 24.3.1 with org mode 7.9.3f. >>>=20 >>> Thanks, >>>=20 >>> Johnny >>>=20 >>> Footnotes: >>> [1] http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-maxima.= html >> >>