emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Vikas Rawal <vikaslists@agrarianresearch.org>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: :exports not being respected
Date: Wed, 10 Aug 2016 08:41:50 -0700	[thread overview]
Message-ID: <alpine.OSX.2.20.1608100825280.616@charles-berrys-macbook.local> (raw)
In-Reply-To: <F7DA6161-78E4-4FAF-A3C4-FB53382B3213@agrarianresearch.org>

On Wed, 10 Aug 2016, Vikas Rawal wrote:

> I have a with just the following header, and it is not respecting 
> :exports in my R source blocks. The pdf file created has source code as 
> well as the results.
>
> What is wrong?

No ECM with src blocks, but see below.

> Has the syntax changed again? I have not done anything with org-export-babel-evaluate.
>
> #+TITLE: Title of this document
> #+TODO: NOTES EXERCISE | DONE
> #+OPTIONS: toc:nil
> #+LATEX_CLASS: article
> #+PROPERTY: header-args :eval never-export
> #+PROPERTY: header-args :session ec404

Missing *plus* sign! (Don't forget `C-c C-c' !)

#+PROPERTY: header-args+ :session ec404

>
>
> I am on Org-mode version 8.3.5 (release_8.3.5-1026-g096f42)

Works as expected for :exports both/results/code/none on:

Org-mode version 8.3.5 (release_8.3.5-1061-g48a87)
Org-mode version 8.3.5 (release_8.3.5-1025-g67c29a)


Chuck

p.s. It often helps to be sure header-args are what you thought they 
should be, i.e. move to a src block and run C-c C-v C-i. Doing that I 
could see that your second header-args property line overruled the first 
one.

      reply	other threads:[~2016-08-10 15:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-10  0:57 :exports not being respected Vikas Rawal
2016-08-10 15:41 ` Charles C. 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=alpine.OSX.2.20.1608100825280.616@charles-berrys-macbook.local \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=vikaslists@agrarianresearch.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).