emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* :exports not being respected
@ 2016-08-10  0:57 Vikas Rawal
  2016-08-10 15:41 ` Charles C. Berry
  0 siblings, 1 reply; 2+ messages in thread
From: Vikas Rawal @ 2016-08-10  0:57 UTC (permalink / raw)
  To: org-mode mailing list

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? 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


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

Vikas

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: :exports not being respected
  2016-08-10  0:57 :exports not being respected Vikas Rawal
@ 2016-08-10 15:41 ` Charles C. Berry
  0 siblings, 0 replies; 2+ messages in thread
From: Charles C. Berry @ 2016-08-10 15:41 UTC (permalink / raw)
  To: Vikas Rawal; +Cc: org-mode mailing list

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-10 15:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-10  0:57 :exports not being respected Vikas Rawal
2016-08-10 15:41 ` Charles C. Berry

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).