"Sebastien Vauban" <[email protected]> writes: > Hi Eric, > > Currently, the following does not seem possible: > > #+begin_src sh :results silent :exports results > echo "I want to see this in HTML/PDF, but not in Org" > #+end_src > > Is there a way to do so? That is: > - have no results inserted in the Org file > - well inserted when exporting the Org file > > Best regards, > Seb
Hi Seb, While this functionality isn't explicitly built into Org-mode the following should work... #+begin_src sh :results (if org-current-export-file "replace" "silent") :exports both echo "I want to see this in HTML/PDF, but not in Org" #+end_src Best -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/
