Hsiu-Khuern Tang writes: > Hi Dan, > > * On Wed 09:09AM, 20 Oct 2010, Dan Davison (davison@stats.ox.ac.uk) wrote: >> Hsiu-Khuern Tang writes: >> > BTW, has anyone used minted with beamer? I get errors like >> >> Yes, I exported Eric Fraga's babel/beamer slides example using minted >> last week and it worked fine. However, >> >> > Runaway argument? >> > int main(int argc, char **argv) { \ETC. >> > ! Paragraph ended before \FV@BeginScanning was complete. This problem is now fixed in Org. The problem was that frames using minted needed to be marked as fragile; Org was only doing this for verbatim and lstlisting. If you are unable to pull the latest Org from the git repo, please change the `org-beamer-fragile-re' regexp as follows (setq org-beamer-fragile-re "^[ \t]*\\\\begin{\\(verbatim\\|lstlisting\\|minted\\)}") Customize can also be used to make this change. Attached is a version of Eric Fraga's beamer example, modified to use python instead of octave, and the pdf export resulting from C-c C-e d. Dan