* exporting babel stuff to pdf or latex
@ 2011-08-31 13:49 Eythan Weg
2011-08-31 14:10 ` Nick Dokos
0 siblings, 1 reply; 4+ messages in thread
From: Eythan Weg @ 2011-08-31 13:49 UTC (permalink / raw
To: emacs-orgmode
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?
Thank you.
Eythan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: exporting babel stuff to pdf or latex
2011-08-31 13:49 exporting babel stuff to pdf or latex Eythan Weg
@ 2011-08-31 14:10 ` Nick Dokos
2011-08-31 22:01 ` Eythan Weg
0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2011-08-31 14:10 UTC (permalink / raw
To: Eythan Weg; +Cc: nicholas.dokos, emacs-orgmode
Eythan Weg <eythanweg@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: exporting babel stuff to pdf or latex
2011-08-31 14:10 ` Nick Dokos
@ 2011-08-31 22:01 ` Eythan Weg
2011-08-31 22:03 ` Eric Schulte
0 siblings, 1 reply; 4+ messages in thread
From: Eythan Weg @ 2011-08-31 22:01 UTC (permalink / raw
To: emacs-orgmode; +Cc: Nick Dokos
Nick Dokos <nicholas.dokos@hp.com>
Wed, 31 Aug 2011 10:10:28 -0400
Eythan Weg <eythanweg@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?
Eythan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: exporting babel stuff to pdf or latex
2011-08-31 22:01 ` Eythan Weg
@ 2011-08-31 22:03 ` Eric Schulte
0 siblings, 0 replies; 4+ messages in thread
From: Eric Schulte @ 2011-08-31 22:03 UTC (permalink / raw
To: Eythan Weg; +Cc: Nick Dokos, emacs-orgmode
eythanweg@gmail.com (Eythan Weg) writes:
> Nick Dokos <nicholas.dokos@hp.com>
> Wed, 31 Aug 2011 10:10:28 -0400
>
> Eythan Weg <eythanweg@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/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-31 22:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-31 13:49 exporting babel stuff to pdf or latex Eythan Weg
2011-08-31 14:10 ` Nick Dokos
2011-08-31 22:01 ` Eythan Weg
2011-08-31 22:03 ` Eric Schulte
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.