emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [org-babel] switching off (re-)evaluation of code blocks during Org export
@ 2011-11-21 16:37 Torsten Anders
  2011-11-21 17:26 ` Sebastien Vauban
  0 siblings, 1 reply; 12+ messages in thread
From: Torsten Anders @ 2011-11-21 16:37 UTC (permalink / raw)
  To: Org-mode

Dear  Org-Babel developers, 

When I am exporting an *.org buffer to, say, HTML or PDF (via Latex) the code blocks of at least some languages are executed during the export process. (Has this always been like that, I noticed this for the first time?)

I would like to switch that off completely. I prefer evaluating code blocks individually to check their results. Also, many of by code blocks run substantial programs which slow down the export process considerably. 

I could not find an option to switch this off in the documentation. Apologies if I missed something obvious. I assume it is there somewhere, but I could not find it. 

Thank you! 

Best wishes,
Torsten

--
Dr Torsten Anders
Course Leader, Music Technology
University of Bedfordshire
Park Square, Room A315
torsten.anders@beds.ac.uk
http://strasheela.sourceforge.net
http://www.torsten-anders.de

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [org-babel] switching off (re-)evaluation of code blocks during Org export
@ 2011-11-22  0:13 Torsten Anders
  2011-11-22  1:23 ` Eric Schulte
  0 siblings, 1 reply; 12+ messages in thread
From: Torsten Anders @ 2011-11-22  0:13 UTC (permalink / raw)
  To: Org-mode

Dear Sebastien and Eric,

Thanks a lot for your kind replies. However, this is not yet quite what I am after.

I want to be able to manually execute each code block, but not automatically whenever the whole document is rendered. So, I would always switch on/off "eval never". Hm... 

I will try out the ":cache" header argument. However, again this does not work so well, because for the languages I am using the :file argument does not work very well (I have to manually change extensions, so I include the resulting file links by hand anyway and set :results to silent.

So, I it sounds like few org-babel users is really running larger applications in their code blocks which can delay the export of the whole document considerably. 

Anyway, thanks a lot for your feedback.

Best wishes,
Torsten

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

end of thread, other threads:[~2011-11-28 10:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21 16:37 [org-babel] switching off (re-)evaluation of code blocks during Org export Torsten Anders
2011-11-21 17:26 ` Sebastien Vauban
2011-11-21 17:34   ` Eric Schulte
  -- strict thread matches above, loose matches on Subject: below --
2011-11-22  0:13 Torsten Anders
2011-11-22  1:23 ` Eric Schulte
2011-11-22  9:46   ` Sebastien Vauban
2011-11-22 14:02     ` Eric Schulte
2011-11-22 17:15       ` Bernt Hansen
2011-11-22 17:31         ` Eric Schulte
2011-11-27 20:12   ` Torsten Anders
2011-11-28  7:13     ` Eric Schulte
2011-11-28 10:01       ` Torsten Anders

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