"Sebastien Vauban" <wxhgmqzgw...@spammotel.com> writes: > Hi Torsten, > > Torsten Anders wrote: >> 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. > > #+PROPERTY: eval never > > does inhibit evaluation of the code blocks. >
You could also look into using the ":cache" header argument to only re-run code blocks when their inputs have changed, or sometimes I find it easy to simply disassociate the results of a code block from the code block itself (e.g., through a rename), and then change the export property of the code block to either "code" or "none". Best -- Eric > > Best regards, > Seb -- Eric Schulte http://cs.unm.edu/~eschulte/