From: Garrido Xavier <garrido@lal.in2p3.fr>
To: Thorsten Grothe <info@th-grothe.de>, emacs-orgmode@gnu.org
Subject: Re: Export all radio tables off a document
Date: Thu, 05 Dec 2013 18:50:53 +0100 [thread overview]
Message-ID: <52A0BCFD.4090303@lal.in2p3.fr> (raw)
In-Reply-To: <52A08017.1010608@th-grothe.de>
Hi,
I asked the same question sometimes ago
http://www.mail-archive.com/emacs-orgmode@gnu.org/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
/--\ garrido@lal.in2p3.fr UMR 8607
| garrido@in2p3.fr Batiment 200
|__ +33 1.64.46.84.28 91898 Orsay Cedex, France
next prev parent reply other threads:[~2013-12-05 17:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-05 13:31 Export all radio tables off a document Thorsten Grothe
2013-12-05 17:50 ` Garrido Xavier [this message]
2013-12-05 20:14 ` Thorsten Grothe
2013-12-05 23:59 ` Suvayu Ali
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=52A0BCFD.4090303@lal.in2p3.fr \
--to=garrido@lal.in2p3.fr \
--cc=emacs-orgmode@gnu.org \
--cc=info@th-grothe.de \
/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).