From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martyn Jago Subject: Re: Export without code blocks Date: Fri, 27 Jan 2012 03:04:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rqc74-00006r-3X for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 22:04:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rqc72-0006mQ-Ss for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 22:04:30 -0500 Received: from lo.gmane.org ([80.91.229.12]:43045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rqc72-0006mI-Lk for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 22:04:28 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rqc70-0000Xg-Uz for emacs-orgmode@gnu.org; Fri, 27 Jan 2012 04:04:26 +0100 Received: from 88-96-171-142.dsl.zen.co.uk ([88.96.171.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2012 04:04:26 +0100 Received: from martyn.jago by 88-96-171-142.dsl.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2012 04:04:26 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Martyn Jago writes: > Hi Aaron > > aaron barclay writes: > >> Hi, >> >> I am having trouble finding the correct way to export a document without >> the code blocks included. Should I be using #+EXPORT_EXCLUDE_TAGS? I can't >> seem to get it to work, anyone have the correct syntax? >> >> cheers, >> aaron. > > #+EXPORT_EXCLUDE_TAGS is for defining tags (such as NO_EXPORT) to > prevent headings or sub-headings (branches) being exported. As in: > > ** don't export me :NO_EXPORT: > stuff > > Possibly what you need is :exports none or :exports results : > > begin_src python :exports results > print "result" > end_src Of course this won't work in python since it will 'print' result, but not return it. so you also need :results output which makes, the `result' that which is printed to STDOUT (standard out). > What format are you exporting too? > > Best, Martyn