From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: How to ensure code blocks are run during export? Date: Thu, 02 May 2013 19:43:43 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXxXm-0000PV-P2 for emacs-orgmode@gnu.org; Thu, 02 May 2013 13:43:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXxXl-000554-UG for emacs-orgmode@gnu.org; Thu, 02 May 2013 13:43:46 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:39548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXxXl-00054x-OC for emacs-orgmode@gnu.org; Thu, 02 May 2013 13:43:45 -0400 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" Hello, I'm writing an exam in org mode, and it's going really well. I need to have some code in code blocks being run during export (as it's defining some functions for later questions), but I don't want anything to be displayed in the final document. At the moment I use the following options in the block: :results silent :exports results Is it the correct way to do it? Thanks, Alan