Thanks Martyn, that was a big help. aaron. On 27 January 2012 14:04, Martyn Jago wrote: > Martyn Jago writes: > > > Hi Aaron > > > > aaron barclay writes: > > > >> Hi, > >> > >> I am having trouble finding the correct way to export a document without > >> the code blocks included. Should I be using #+EXPORT_EXCLUDE_TAGS? I > can't > >> seem to get it to work, anyone have the correct syntax? > >> > >> cheers, > >> aaron. > > > > #+EXPORT_EXCLUDE_TAGS is for defining tags (such as NO_EXPORT) to > > prevent headings or sub-headings (branches) being exported. As in: > > > > ** don't export me :NO_EXPORT: > > stuff > > > > Possibly what you need is :exports none or :exports results : > > > > begin_src python :exports results > > print "result" > > end_src > > Of course this won't work in python since it will 'print' result, but > not return it. so you also need :results output which makes, the `result' > that which is printed to STDOUT (standard out). > > > What format are you exporting too? > > > > Best, Martyn > > >