From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vicente Vera Subject: Re: Export backends are loaded after code block evaluation Date: Mon, 24 Nov 2014 21:30:01 -0300 Message-ID: References: <877fyl50y0.fsf@nicolasgoaziou.fr> <87fvd8peqs.fsf@selenimh.mobile.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xt419-0003YO-5U for emacs-orgmode@gnu.org; Mon, 24 Nov 2014 19:30:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xt414-0004vs-I1 for emacs-orgmode@gnu.org; Mon, 24 Nov 2014 19:30:07 -0500 Received: from mail-wg0-x235.google.com ([2a00:1450:400c:c00::235]:65184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xt414-0004vP-BB for emacs-orgmode@gnu.org; Mon, 24 Nov 2014 19:30:02 -0500 Received: by mail-wg0-f53.google.com with SMTP id l18so13538726wgh.26 for ; Mon, 24 Nov 2014 16:30:01 -0800 (PST) In-Reply-To: <87fvd8peqs.fsf@selenimh.mobile.lan> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Vicente Vera , emacs-orgmode 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 : > Vicente Vera 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,