I'm using orgmode release Org 7.8.06. When I export an org source block (i.e. a source code block in the org language):
#+BEGIN_SRC org :exports code ,#+srcname: <name> ,#+begin_src <language> <switches> <header arguments> , <body> ,#+end_src #+END_SRC the last source line is not exported. The output, in both PDF and HTML, becomes: #+srcname: <name> #+begin_src <language> <switches> <header arguments> <body> Notice that the line "#+end_src" is not present. -- Truong Nghiem