From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Cannot get exported a correctly-recalculated table generated by org-babel Date: Wed, 30 Jan 2013 11:24:58 +0100 Message-ID: <87vcae3ov0.fsf@bzg.ath.cx> References: <1359298623.3072.YahooMailClassic@web133103.mail.ir2.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0Vbt-00018l-La for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 06:13:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0Vbr-0001xD-J6 for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 06:13:45 -0500 Received: from wi-in-x022a.1e100.net ([2a00:1450:400c:c05::22a]:40943 helo=mail-wi0-x22a.google.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0Vbr-0001wU-D0 for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 06:13:43 -0500 Received: by mail-wi0-f170.google.com with SMTP id cb5so2805993wib.5 for ; Wed, 30 Jan 2013 03:13:42 -0800 (PST) In-Reply-To: <1359298623.3072.YahooMailClassic@web133103.mail.ir2.yahoo.com> (Miguel Ruiz's message of "Sun, 27 Jan 2013 14:57:03 +0000 (GMT)") 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: Miguel Ruiz Cc: emacs-orgmode@gnu.org Hi Miguel, Miguel Ruiz writes: > How can I get recalculated tables through org-export: > a) Switch-off org-babel-execute-buffer in org-export? > b) Switch-on org-tables recalculate-buffer-tables AFTER org-babel-execute-buffer? > > I cannot figure out the sequence in org-export or the multiple hooks > available. I would use this one (not tested though): (add-hook 'org-export-preprocess-hook 'org-table-recalculate-buffer-tables) HTH, -- Bastien