emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Code vanishes on export
Date: Wed, 24 Aug 2011 07:58:37 -0600	[thread overview]
Message-ID: <87liui7vxu.fsf@gmail.com> (raw)
In-Reply-To: <20110824101326.GA13980@panahar> (Vikas Rawal's message of "Wed, 24 Aug 2011 15:43:26 +0530")

Vikas Rawal <vikaslists@agrarianresearch.org> writes:

> I have been having some strange behaviour with my orgmode files
> containing R code. When I export the file (to html), the code vanishes
> and is replaced by value that is calculated by the code. I obviously
> do not want the code to be removed from my org file.
>
> I did not have this problem earlier and it seems to have appeared
> after a recent upgrade.
>
> Could someone please help trace the problem.
>

There are ways of controlling whether code or results or both or neither
are included in code export.  Please see the following sections of the
manual.

http://orgmode.org/manual/Working-With-Source-Code.html
http://orgmode.org/manual/Header-arguments.html
http://orgmode.org/manual/exports.html

If those don't solve your problem then please (as suggested elsewhere in
this thread) do share a complete minimal example.

Thanks -- Eric

>
> Vikas
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

  parent reply	other threads:[~2011-08-24 13:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-24 10:13 Code vanishes on export Vikas Rawal
2011-08-24 10:23 ` Sebastien Vauban
2011-08-24 13:58 ` Eric Schulte [this message]
2011-08-24 14:45   ` suvayu ali
2011-08-24 17:36     ` cberry
2011-08-24 19:45       ` Eric Schulte
2011-08-24 23:37     ` Vikas Rawal
     [not found]       ` <87obzez7vy.fsf@tajo.ucsd.edu>
2011-08-25  0:08         ` Vikas Rawal
2011-08-25  7:11       ` suvayu ali

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=87liui7vxu.fsf@gmail.com \
    --to=schulte.eric@gmail.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).