From mboxrd@z Thu Jan 1 00:00:00 1970 From: Garrido Xavier Subject: Re: Export all radio tables off a document Date: Thu, 05 Dec 2013 18:50:53 +0100 Message-ID: <52A0BCFD.4090303@lal.in2p3.fr> References: <52A08017.1010608@th-grothe.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vod4n-0002mO-5H for emacs-orgmode@gnu.org; Thu, 05 Dec 2013 12:51:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vod4i-0003ll-5f for emacs-orgmode@gnu.org; Thu, 05 Dec 2013 12:51:01 -0500 Received: from smtp1.lal.in2p3.fr ([134.158.88.100]:37062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vod4h-0003lR-VJ for emacs-orgmode@gnu.org; Thu, 05 Dec 2013 12:50:56 -0500 In-Reply-To: <52A08017.1010608@th-grothe.de> 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: Thorsten Grothe , emacs-orgmode@gnu.org Hi, I asked the same question sometimes ago=20 http://www.mail-archive.com/emacs-orgmode@gnu.org/msg64189.html and=20 Carsten posted this answer which is still working for me (defun my-org-send-all-tables () (interactive) (org-table-map-tables (lambda () (orgtbl-send-table 'maybe)))) Cheers, Xavier Le 05/12/2013 14:31, Thorsten Grothe a =E9crit : > Hi all, > > this is my first post to this list, so please be patient with me :-) > > I have many radio tables in my document with this structure: > > \begin{comment} > #+TBLNAME: sec-10 > #+ORGTBL: SEND sec-10 orgtbl-to-latex :skip 3 :splice t > |--------------------+---------------+---------------| > | Anschaffungskosten | Nutzungsdauer | AfA in =A4/Std. | > |--------------------+---------------+---------------| > | 720000 | 36000 | 20 | > |--------------------+---------------+---------------| > \end{comment} > > A C-c C-c exports the table to Latex like this: > > \begin{tabular}{lll} > > % BEGIN RECEIVE ORGTBL sec-10 > 720000 & 36000 & 20\\ > % END RECEIVE ORGTBL sec-10 > > \end{tabular} > > It would be very nice to automatically export *all* tables of the > document to their corresponding latex tables in the same document. I > found a function that does this for calculations in org-tables: > > M-x org-table-recalculate-buffer-tables > > but I found nothing similar for updating and exporting them automatical= ly. > > Is this possible? > > Thanks in advance! > > Regards > Th. Grothe > --=20 | |__ GARRIDO Xavier Laboratoire de l'Acc=E9l=E9rateur Lin=E9a= ire /\ NEMO Universit=E9 Paris-Sud 11 /--\ garrido@lal.in2p3.fr UMR 8607 | garrido@in2p3.fr Batiment 200 |__ +33 1.64.46.84.28 91898 Orsay Cedex, France