[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Evaluating simple inline expressions in org-mode
From: |
Eric S Fraga |
Subject: |
Re: [O] Evaluating simple inline expressions in org-mode |
Date: |
Wed, 3 Feb 2016 16:09:07 +0000 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.90 (gnu/linux) |
On Wednesday, 3 Feb 2016 at 08:45, Gary Oberbrunner wrote:
[...]
> Of course I made up that {{{}}} syntax, that's not a real thing. I've seen
> org-mode tables with calc, but I'm hoping for something simpler, just
> inline math expression eval. (I'm fine with elisp, calc, whatever.)
As Ken has shown¸ you can use babel for inline evaluation. Note that
Emacs calc is one of the languages supported by babel so src_calc(2*pi)
works as well. I'm not sure how you define variables in calc however...
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa