Re: [Orgmode] [babel] Bug: Export code block before first heading

2009-11-20 Thread Eric Schulte
Hi Andreas, Thanks for catching this bug, It should now be fixed in the HEAD of the git repo. Best -- Eric Andreas Burtzlaff writes: > Exporting a file with a source block before the first heading, like: > > #+BEGIN_SRC emacs-lisp > > ... > > #+END_SRC > > to html yields the error > "Before

[Orgmode] [babel] Bug: Export code block before first heading

2009-11-20 Thread Andreas Burtzlaff
Exporting a file with a source block before the first heading, like: #+BEGIN_SRC emacs-lisp ... #+END_SRC to html yields the error "Before first headline at position 3 in buffer org-mode-tmp" A backtrace is attached. Andreas Emacs : GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.1