From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: "jenia.ivlev" <jenia.ivlev@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to execute calc commands in src blocks?
Date: Tue, 11 Aug 2015 10:18:50 +0100 [thread overview]
Message-ID: <87bneembd1.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87vbcoszsc.fsf@gmail.com> (jenia ivlev's message of "Sun, 9 Aug 2015 21:22:27 -0400")
On Sunday, 9 Aug 2015 at 21:22, jenia.ivlev wrote:
> Hello.
>
> I want to use calc in org src-blocks. But it doesnt always work.
I've usually found that calc in org babel works best in algebraic mode
as opposed to stack mode:
> Here is another example where it doesn't work:
>
> #+BEGIN_SRC calc
> [3 2]
> [2 10]
> '+
> #+END_SRC
Try
#+BEGIN_SRC calc
[3,2] + [2,10]
#+END_SRC
instead. Stack mode is best for interactive use but really has few
benefits for non-interactive use, in my experience. And I say this as a
fervent HP calculator user for <mumble> decades... :-)
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-34-gb911f1
prev parent reply other threads:[~2015-08-11 9:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-10 1:22 How to execute calc commands in src blocks? jenia.ivlev
2015-08-11 9:18 ` Eric S Fraga [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bneembd1.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=jenia.ivlev@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 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.