emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Berry <ccberry@ucsd.edu>
To: emacs-orgmode@gnu.org
Subject: Re: inclusion of #+RESULTS in a source block
Date: Mon, 16 Jun 2014 16:53:57 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140616T183747-371@post.gmane.org> (raw)
In-Reply-To: CAKrPhPMv7DGb2WcgrAEa=9PEK59x5ku4rsxx9kJcyFyfJbKGxA@mail.gmail.com

Federico Beffa <beffa <at> ieee.org> writes:

> 
> 
> 

>   Suppose you want to use a program such as Sympy or Maxima to find
>   the analytic solution of a complicated equation. After this you
>   want to make use of that solution for numerical evaluation of
>   various cases.  


See 

http://orgmode.org/manual/Noweb-reference-syntax.html#Noweb-reference-syntax

You want something like

#+BEGIN_SRC python :noweb yes
<<analytic-sol()>>
#+END_SRC


To use in more than one src-block  use the `:cache yes' header for 
`analytic-sol'

HTH,

Chuck

      reply	other threads:[~2014-06-16 16:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-16 14:38 inclusion of #+RESULTS in a source block Federico Beffa
2014-06-16 16:53 ` Charles Berry [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

  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=loom.20140616T183747-371@post.gmane.org \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    /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).