From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Bremner Subject: Re: excluding noweb references completely from exports Date: Sun, 05 Jan 2020 06:27:36 -0400 Message-ID: <87imlq6vvr.fsf@tethera.net> References: <87pnfz6qbd.fsf@tethera.net> <87lfqmwcf8.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56412) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io38J-0000Gb-CK for emacs-orgmode@gnu.org; Sun, 05 Jan 2020 05:27:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1io38I-0005S1-3L for emacs-orgmode@gnu.org; Sun, 05 Jan 2020 05:27:43 -0500 Received: from fethera.tethera.net ([2607:5300:60:c5::1]:42760) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1io38H-0005Nd-VE for emacs-orgmode@gnu.org; Sun, 05 Jan 2020 05:27:42 -0500 In-Reply-To: <87lfqmwcf8.fsf@ucl.ac.uk> 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: "Fraga, Eric" Cc: "emacs-orgmode@gnu.org" --=-=-= Content-Type: text/plain "Fraga, Eric" writes: > On Saturday, 4 Jan 2020 at 14:15, David Bremner wrote: >> Any better ideas for how to do this? In case it's not clear, I want >> include files in my tangled output that don't show in the beamer >> export. > > Export and tangling are orthogonal to each other and are controlled > independently by their respectively keywords in the src header > lines. In other words, I am not sure I understand what one has to do > with the other. > > Would you please give an example that does not work the way you want it? The attached exports with a blank line after the comment, which I don't want. The comment is just added to highlight the problem, so normally the blank line is at the beginning of the exported code block. --=-=-= Content-Type: text/x-org Content-Disposition: inline; filename=mwe.org #+STARTUP: beamer #+OPTIONS: toc:nil #+PROPERTY: header-args :noweb strip-export :shebang "#lang plait" :tangle-mode (identity #o644) #+LATEX_HEADER: \usepackage{listings} * A frame #+BEGIN_SRC scheme :tangle tangled.rkt ; there is a blank line after this comment <> (Snake? (Snake 'Slimey 10 'rats)) ; => #t (Snake? (Tiger 'Tony 12)) ; => #t #+END_SRC #+NAME: include/animal-type.rkt #+BEGIN_SRC scheme :export none (define-type Animal [Snake (name : Symbol) (weight : Number) (food : Symbol)] [Tiger (name : Symbol) (weight : Number)]) #+END_SRC --=-=-=--