emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vicente Vera <vicentemvp@gmail.com>
To: Vicente Vera <vicentemvp@gmail.com>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Export backends are loaded after code block evaluation
Date: Mon, 24 Nov 2014 21:30:01 -0300	[thread overview]
Message-ID: <CAMfbzvDEWtKa=E1AC0ampqiWJkkYT7sUY-j+ikGLY4OAYLykHg@mail.gmail.com> (raw)
In-Reply-To: <87fvd8peqs.fsf@selenimh.mobile.lan>

Ok, finally sorted it out.
Babel doesn't load ox-* files by itself (except for ob-haskell &
ob-latex). But, in my case, the code block's result is a table. In
consequence Org needs org-table which in turn requires some ox- files
and THEN org.el evaluates (after ox.el) 'org-export-backends'.
Thank you for your patience. Now I can sleep soundly.

2014-11-24 16:42 GMT-03:00 Nicolas Goaziou <mail@nicolasgoaziou.fr>:
> Vicente Vera <vicentemvp@gmail.com> writes:
>
>> Nope, no harm has been done. Still curious about it though. IMO,
>> there's no reference to 'ox.el' in the babel source files so I don't
>> understand how is this possible.
>
> See line 848 in "org.el" (master branch, if it matters).
>
> Basically, Babel requires an export backend ("ox-latex.el", likely),
> which, in turn requires "ox.el". The snippet above does the rest.
>
> Regards,

      reply	other threads:[~2014-11-25  0:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-23 15:57 Export backends are loaded after code block evaluation Vicente Vera
2014-11-23 16:36 ` Nicolas Goaziou
2014-11-24 18:45   ` Vicente Vera
2014-11-24 19:42     ` Nicolas Goaziou
2014-11-25  0:30       ` Vicente Vera [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='CAMfbzvDEWtKa=E1AC0ampqiWJkkYT7sUY-j+ikGLY4OAYLykHg@mail.gmail.com' \
    --to=vicentemvp@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).