[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Cannot get exported a correctly-recalculated table generated by
From: |
Miguel Ruiz |
Subject: |
Re: [O] Cannot get exported a correctly-recalculated table generated by org-babel |
Date: |
Wed, 30 Jan 2013 12:11:26 +0000 (GMT) |
>
> > 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
>