emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: <yggdrasil@gmx.co.uk>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>, emacs-orgmode@gnu.org
Subject: Re: imaxima babel
Date: Fri, 22 Nov 2013 18:05:53 +0100	[thread overview]
Message-ID: <878uwgtlhq.fsf@gmx.co.uk> (raw)
In-Reply-To: <87ppptjd0s.fsf@gmail.com> (Eric Schulte's message of "Thu, 21 Nov 2013 16:33:19 -0700")

Thanks, this does answer my initial question and works good enough to
enable latex export! 

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,


Eric Schulte <schulte.eric@gmail.com> writes:

> Changing ":results output" to ":results output latex" in Rüdiger's nice
> example below would probably be an improvement.
> Best,
> Rüdiger Sonderfeld <ruediger@c-plusplus.de> 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,
>>> 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.
>>> I am running emacs 24.3.1 with org mode 7.9.3f.
>>> Thanks,
>>> Johnny
>>> Footnotes:
>>> [1]  http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-maxima.html

  reply	other threads:[~2013-11-22 17:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-21 22:58 imaxima babel yggdrasil
2013-11-21 23:07 ` Rüdiger Sonderfeld
2013-11-21 23:33   ` Eric Schulte
2013-11-22 17:05     ` yggdrasil [this message]
2013-11-23 16:12       ` Eric Schulte
2013-11-26 21:53         ` yggdrasil
2013-11-27  8:54           ` Alan Schmitt
2013-11-27 23:10             ` yggdrasil
2013-11-28  0:42               ` Nick Dokos
2013-11-28  1:09               ` Thomas S. Dye
2013-11-30 10:19               ` Cannot generate latex preview images (Was: imaxima babel) Alan Schmitt
2013-11-30 12:49                 ` Cannot generate latex preview images Nicolas Goaziou
2013-12-02 10:09                   ` Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878uwgtlhq.fsf@gmx.co.uk \
    --to=yggdrasil@gmx.co.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=ruediger@c-plusplus.de \
    --cc=schulte.eric@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).