all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Evaluating simple inline expressions in org-mode
@ 2016-02-03 13:45 Gary Oberbrunner
  2016-02-03 13:58 ` Ken Mankoff
  2016-02-03 16:09 ` Eric S Fraga
  0 siblings, 2 replies; 8+ messages in thread
From: Gary Oberbrunner @ 2016-02-03 13:45 UTC (permalink / raw
  To: Orgmode Mailing List

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

I'd like to just have a few inline formulas evaluated in my org-mode
document (I'm exporting to LaTeX if that matters). Something like this:

=========================
# a constant:
# pi = 3.14159

The value of interest is {{{2*$pi}}}.
=========================

I want that to export as:

  The value of interest is 6.28318.

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.)

Possible?

-- 
Gary

[-- Attachment #2: Type: text/html, Size: 851 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-02-08 11:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-03 13:45 Evaluating simple inline expressions in org-mode Gary Oberbrunner
2016-02-03 13:58 ` Ken Mankoff
2016-02-03 16:09 ` Eric S Fraga
2016-02-03 16:14   ` Gary Oberbrunner
2016-02-04  7:01   ` H. Dieter Wilhelm
2016-02-04  8:38     ` Eric S Fraga
2016-02-07 15:45       ` H. Dieter Wilhelm
2016-02-08  9:33         ` Eric S Fraga

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.