eythan...@gmail.com (Eythan Weg) writes: > Nick Dokos <nicholas.do...@hp.com> > Wed, 31 Aug 2011 10:10:28 -0400 > > Eythan Weg <eythan...@gmail.com> wrote: > > > > > Hi, > > > > I need help with exporting this: > > > > #+begin_src R :exports both :results output > > Lst <- list(length=c(1,7,9), time=c(0.5,10,11)) > > print(Lst$time) > > #+end_src > > > > It fails with these messages > > > > Export buffer: > > Exporting to PDF... > > Exporting to LaTeX... > > org-babel-exp processing... > > org-babel-get-src-block-info: Args out of range: "", -1, 0 > > > > Any obvious reason why? > > > > > > Works for me: maybe you need to upgrade? > > Org-mode version 7.7 (release_7.7.223.gcae9.dirty) > > Nick > > Thanks. I think I found my issue. Babel blocks need to be under > a headline in order to be exported. Is this correct? >
Only when exporting to LaTeX. The LaTeX exporter does weird things to parts of the Org-mode file before the first headline (which is everything in files with no headlines). Cheers -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/