emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* source code block export no expansion
@ 2010-12-07 17:38 Andreas Leha
  2010-12-07 18:37 ` Thomas S. Dye
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Leha @ 2010-12-07 17:38 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 869 bytes --]

Hi all,

I have a question about exporting source code blocks.  Say, I have
several modules (mod1, mod2), that build a bigger part (part1) of my
program, e.g.:


  #+srcname: mod1
  #+begin_src R :tangle no :export code
    print("mod1")
  #+end_src

  #+srcname: mod2
  #+begin_src R :tangle no :export code
    print("mod2")
  #+end_src

  #+srcname: part1
  #+begin_src R :noweb yes :tangle yes :export code :session *R*
    <<mod1>>
    <<mod2>>
  #+end_src

 
Now during the tangling I would like to tangle just the full part1 -
with noweb links being expanded.  Also during execution the noweb links
should be expanded.  This is not a problem.

But at the same time, during the export I'd like to export all three
code snippets, but I'd prefer the noweb links not to be expanded.  Is
that possible?

Thanks in advance,
Andreas


[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 6432 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-12-08 16:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-07 17:38 source code block export no expansion Andreas Leha
2010-12-07 18:37 ` Thomas S. Dye
2010-12-07 18:49   ` Andreas Leha
2010-12-07 19:33     ` Thomas S. Dye
2010-12-07 19:46       ` Andreas Leha
2010-12-07 20:14         ` Thomas S. Dye
2010-12-08  6:55           ` Andreas Leha
2010-12-08 16:49             ` Thomas S. Dye

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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