From: Brian Beckman <bc.beckman@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: export: noweb blocks substituted versus verbatim ?
Date: Sat, 26 Sep 2015 23:19:29 +0000 (UTC) [thread overview]
Message-ID: <loom.20150927T011325-74@post.gmane.org> (raw)
In-Reply-To: oluio6wpzok.fsf@med.uni-goettingen.de
Andreas Leha <andreas.leha <at> med.uni-goettingen.de> writes:
>
> Hi Brian,
>
[[ omitted: deeper quotes ]]
>
> As far as I can see, the difference is that some of the code blocks have
> the header argument `:noweb yes', while others do not.
>
> I do not know how to achieve working noweb extension during evaluation
> but omitting noweb extension during export, though.
>
> HTH,
> Andreas
>
Hi Andreas,
Thanks for answering. I did some experiments putting `:noweb yes'
in various combinations and also putting a dummy line before the
references in the first (offending) block, like this:
#+NAME: test-block
#+BEGIN_SRC python :noweb yes :tangle test_foo.py
dummy_for_org_mode = True
<<imports>>
<<definitions>>
def test_smoke ():
np.testing.assert_approx_equal (foo_func (), foo_constant)
#+END_SRC
and separating the code lines with blank lines (as we must do in
org-babel `session' mode). None of it made any visible difference.
None of it made any difference
next prev parent reply other threads:[~2015-09-26 23:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-26 21:26 export: noweb blocks substituted versus verbatim ? Brian Beckman
2015-09-26 22:45 ` Andreas Leha
2015-09-26 23:19 ` Brian Beckman [this message]
2015-09-27 2:54 ` Charles C. Berry
2015-09-28 4:40 ` Brian Beckman
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20150927T011325-74@post.gmane.org \
--to=bc.beckman@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.