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: Tue, 26 Nov 2013 22:53:04 +0100 [thread overview]
Message-ID: <878uwaomnz.fsf@gmx.co.uk> (raw)
In-Reply-To: <87a9gvgk7l.fsf@gmail.com> (Eric Schulte's message of "Sat, 23 Nov 2013 09:12:29 -0700")
[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]
Eric Schulte <schulte.eric@gmail.com> writes:
> <yggdrasil@gmx.co.uk> writes:
>
>> [... how to use maxima code from org-mode and display results inline
>> in the org-buffer ...]
>
> You would switch from ":results latex" to ":results raw", in which case
> the latex will be inserted directly into the Org-mode buffer, and
> org-mode's existing pretty display functionality may be used to view the
> equations inline and should work for export to HTML as well.
>
> Alternately, if you really want to get fancy you could use noweb
> expansion (see the manual) to insert the results of the imaxima code
> block into a latex code block, and then use the existing latex code
> block functionality to convert the imaxima output to images of different
> types depending on the export target [1].
>
Many thanks for all the help! I have now figured out how to use maxima
from org-mode source blocks and display the results as pretty printed
equations online. To remember, I made a small summarising example file,
attached below for posteriority.
All the best,
Johnny
[-- Attachment #2: orgmaxima_example.org --]
[-- Type: application/vnd.lotus-organizer, Size: 1441 bytes --]
next prev parent reply other threads:[~2013-11-26 21:53 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
2013-11-23 16:12 ` Eric Schulte
2013-11-26 21:53 ` yggdrasil [this message]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=878uwaomnz.fsf@gmx.co.uk \
--to=yggdrasil@gmx.co.uk \
--cc=emacs-orgmode@gnu.org \
--cc=ruediger@c-plusplus.de \
--cc=schulte.eric@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).