From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Generate BEGIN_EXAMPLE block dynamically during export
Date: Tue, 16 Feb 2016 17:28:39 -0500 [thread overview]
Message-ID: <87mvr0nvc8.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: CAFyQvY3Z5K9ES-RXneFeyq41R+jmJwJi8T=_i6Trdr_Kqy2XWg@mail.gmail.com
Kaushal Modi <kaushal.modi@gmail.com> writes:
> OK, now I have just one follow up question. I would like to tangle the result to a separate file.
>
> So I am looking for a way to save the result "> tar xvzf bar.tar.gz" to a separate file. I tried adding
> ":tangle filename" to #+CALL/#+BEGIN_SRC but that did not help. Adding to #+CALL does not do anything.
>And adding ":tangle file" to #+BEGIN_SRC block exports the code (not results) to the file as expected.
:file foo
perhaps?
--
Nick
next prev parent reply other threads:[~2016-02-16 22:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 19:10 Generate BEGIN_EXAMPLE block dynamically during export Kaushal Modi
2016-02-16 20:02 ` Thomas S. Dye
2016-02-16 20:51 ` Kaushal Modi
2016-02-16 21:03 ` Thomas S. Dye
2016-02-16 21:16 ` Kaushal Modi
2016-02-16 21:47 ` Kaushal Modi
2016-02-16 22:18 ` Thomas S. Dye
2016-02-16 22:20 ` Kaushal Modi
2016-02-16 22:28 ` Nick Dokos [this message]
2016-02-16 22:40 ` Kaushal Modi
2016-02-16 23:10 ` Kaushal Modi
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
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=87mvr0nvc8.fsf@alphaville.usersys.redhat.com \
--to=ndokos@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 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).