Robert Lupton the Good <r...@astro.princeton.edu> wrote: > Running org-export-as-latex on: > > #+STARTUP: beamer > > #+LaTeX_CLASS: beamer > >=20 > > #+BEGIN_SRC C > > double tmp0 =3D yp[0]; > > #+END_SRC > > generates the following traceback. Adding a "* foo" line above the = > BEGIN_SRC avoids the problem. >
Yup - Robert Goldman ran into this too a couple of weeks ago - see the thread at http://thread.gmane.org/gmane.emacs.orgmode/50134 No resolution yet afaik: I'm sure Bastien would welcome a well-crafted patch though. Nick > Using org-mode from git; SHA1 0c09a9e7683c79c8525f87ccd1b7ba0255a94b1c > > R > > Debugger entered--Lisp error: (error "unbalanced begin/end_src blocks = > with #(\"#+BEGIN_SRC C > \" 0 11 (fontified nil font-lock-fontified t org-category \"bug\") 11 13 = > (fontified nil font-lock-fontified t org-category \"bug\") 13 14 = > (fontified nil font-lock-fontified t org-category \"bug\"))") > signal(error ("unbalanced begin/end_src blocks with #(\"#+BEGIN_SRC = > C\n\" 0 11 (fontified nil font-lock-fontified t org-category \"bug\") 11 = > 13 (fontified nil font-lock-fontified t org-category \"bug\") 13 14 = > (fontified nil font-lock-fontified t org-category \"bug\"))")) > error("unbalanced begin/end_%s blocks with %S" src #("#+BEGIN_SRC C\n" = > 0 11 (fontified nil font-lock-fontified t org-category "bug") 11 13 = > (fontified nil font-lock-fontified t org-category "bug") 13 14 = > (fontified nil font-lock-fontified t org-category "bug"))) > =