From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: imaxima babel Date: Thu, 21 Nov 2013 16:33:19 -0700 Message-ID: <87ppptjd0s.fsf@gmail.com> References: <87li0htl9g.fsf@gmx.co.uk> <35517207.uS1ReSrXEG@descartes> 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]:43708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vji25-0006vt-BA for emacs-orgmode@gnu.org; Thu, 21 Nov 2013 23:07:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vji21-00007S-92 for emacs-orgmode@gnu.org; Thu, 21 Nov 2013 23:07:53 -0500 Received: from mail-pd0-x234.google.com ([2607:f8b0:400e:c02::234]:56534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vji21-00007O-16 for emacs-orgmode@gnu.org; Thu, 21 Nov 2013 23:07:49 -0500 Received: by mail-pd0-f180.google.com with SMTP id q10so699892pdj.25 for ; Thu, 21 Nov 2013 20:07:47 -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: =?utf-8?Q?R=C3=BCdiger?= Sonderfeld Cc: emacs-orgmode@gnu.org, yggdrasil@gmx.co.uk Changing ":results output" to ":results output latex" in R=C3=BCdiger's nice 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.h= tml > > --=20 Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D