emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Miguel Ruiz <rbenit68@yahoo.es>
To: emacs-orgmode@gnu.org
Cc: Bastien <bzg@altern.org>
Subject: Re: Cannot get exported a correctly-recalculated table generated by org-babel
Date: Wed, 30 Jan 2013 12:11:26 +0000 (GMT)	[thread overview]
Message-ID: <1359547886.56001.YahooMailClassic@web133106.mail.ir2.yahoo.com> (raw)
In-Reply-To: <87vcae3ov0.fsf@bzg.ath.cx>

> 
> > 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)
> 

That goes perfect!!!

I also found

(add-hook 'org-babel-after-execute-hook 
          'org-table-recalculate-buffer-tables) 


Thanks a lot,

Miguel.

> HTH,
> 
> -- 
>  Bastien
>

      reply	other threads:[~2013-01-30 12:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-27 14:57 Cannot get exported a correctly-recalculated table generated by org-babel Miguel Ruiz
2013-01-30 10:24 ` Bastien
2013-01-30 12:11   ` Miguel Ruiz [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=1359547886.56001.YahooMailClassic@web133106.mail.ir2.yahoo.com \
    --to=rbenit68@yahoo.es \
    --cc=bzg@altern.org \
    --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).