Hi Nicolas, I was able to export your example to html without any problems, however I did receive the same error you mentioned when exporting to LaTeX. The attached patch fixes the LaTeX export on my system, please give it a try and let me know if it works for you. I'm going to look into this a little bit more, as it seems that for LaTeX export the "#+begin_src org" block is being processed /twice/ by org-exp (probably due to the LaTeX exports mechanism for first exporting the header of a file and then exporting the body), which is not desirable and could be the root issue which this patch may just paper over. Cheers -- Eric