From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: :exports not being respected Date: Wed, 10 Aug 2016 08:41:50 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXVdm-00031u-1j for emacs-orgmode@gnu.org; Wed, 10 Aug 2016 11:41:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXVdi-0003Wt-3t for emacs-orgmode@gnu.org; Wed, 10 Aug 2016 11:41:58 -0400 Received: from iport-acv3-out.ucsd.edu ([132.239.0.4]:36768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXVdh-0003WA-R1 for emacs-orgmode@gnu.org; Wed, 10 Aug 2016 11:41:54 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" 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.