From: Eric Schulte <schulte.eric@gmail.com>
To: Eythan Weg <eythanweg@gmail.com>
Cc: Nick Dokos <nicholas.dokos@hp.com>, emacs-orgmode@gnu.org
Subject: Re: exporting babel stuff to pdf or latex
Date: Wed, 31 Aug 2011 16:03:46 -0600 [thread overview]
Message-ID: <874o0xp7aw.fsf@gmail.com> (raw)
In-Reply-To: <87sjohkzp5.fsf@gmail.com> (Eythan Weg's message of "Wed, 31 Aug 2011 18:01:42 -0400")
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/
prev parent reply other threads:[~2011-08-31 22:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874o0xp7aw.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=eythanweg@gmail.com \
--cc=nicholas.dokos@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).