emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: <Ken.Williams@thomsonreuters.com>
To: emacs-orgmode@gnu.org
Subject: Spurious source-code output?
Date: Thu, 5 May 2011 10:24:28 -0500	[thread overview]
Message-ID: <C9E82B5C.2BF08%ken.williams@thomsonreuters.com> (raw)

Hi,

I've got the following source-code section in a sample org-mode document:

#+BEGIN_SRC R :exports output :results graphics :file t.png
plot(1:10, 1:10)
#+END_SRC

My intention is to show just the figure, not the source code, when I export to HTML.  But when I do 'C-c C-c' to evaluate the code (which produces a "#+results:" section as expected) and then 'C-c C-e b' to produce the HTML, I'm getting both the source code and the plot in the output.

I must be misunderstanding the BEGIN_SRC parameters?  Could anyone correct me?

I'm using Org-mode 7.5 with Aquamacs 2.2 (GNU Emacs 23.3.1).  Thanks.

--
Ken Williams
Senior Research Scientist

Thomson Reuters

http://labs.thomsonreuters.com

             reply	other threads:[~2011-05-05 15:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-05 15:24 Ken.Williams [this message]
2011-05-05 15:37 ` Spurious source-code output? Nick Dokos
2011-05-05 15:40   ` Ken.Williams
2011-05-05 15:55     ` Nick Dokos
2011-05-05 17:07       ` Thomas S. Dye
2011-05-05 17:45         ` Nick Dokos
2011-05-05 18:28           ` [Patch] Documentation, was " Thomas S. Dye
2011-05-05 19:09             ` Nick Dokos
2011-05-05 19:31               ` Thomas S. Dye
2011-05-05 19:48                 ` Nick Dokos
2011-05-05 21:03               ` Nick Dokos
2011-05-05 20:52             ` Eric Schulte
2011-05-05 21:51             ` Nick Dokos

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=C9E82B5C.2BF08%ken.williams@thomsonreuters.com \
    --to=ken.williams@thomsonreuters.com \
    --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).