emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Export all radio tables off a document


From: Garrido Xavier
Subject: Re: [O] Export all radio tables off a document
Date: Thu, 05 Dec 2013 18:50:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

Hi,

I asked the same question sometimes ago http://www.mail-archive.com/address@hidden/msg64189.html and 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 écrit :
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 €/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 automatically.

Is this possible?

Thanks in advance!

Regards
Th. Grothe


--

  |
  |__     GARRIDO Xavier       Laboratoire de l'Accélérateur Linéaire
   /\     NEMO                 Université Paris-Sud 11
  /--\    address@hidden UMR 8607
  |       address@hidden     Batiment 200
  |__     +33 1.64.46.84.28    91898 Orsay Cedex, France





reply via email to

[Prev in Thread] Current Thread [Next in Thread]