emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: "Fraga, Eric" <e.fraga@ucl.ac.uk>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: excluding noweb references completely from exports
Date: Sun, 05 Jan 2020 06:27:36 -0400	[thread overview]
Message-ID: <87imlq6vvr.fsf@tethera.net> (raw)
In-Reply-To: <87lfqmwcf8.fsf@ucl.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

"Fraga, Eric" <e.fraga@ucl.ac.uk> 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.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: mwe.org --]
[-- Type: text/x-org, Size: 584 bytes --]

#+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

#+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)])


  reply	other threads:[~2020-01-05 10:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-04 18:15 excluding noweb references completely from exports David Bremner
2020-01-05  8:11 ` Fraga, Eric
2020-01-05 10:27   ` David Bremner [this message]
2020-01-06  7:06     ` Fraga, Eric
2020-01-06 21:35   ` Samuel Wales
2020-01-07  6:22     ` Fraga, Eric
2020-01-07  8:43       ` Tim Cross
2020-01-07 23:14       ` Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87imlq6vvr.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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