From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: radio tables in an org buffer Date: Fri, 25 Dec 2009 07:36:21 -1000 Message-ID: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============0625628743==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NOE5X-00062V-Ok for emacs-orgmode@gnu.org; Fri, 25 Dec 2009 12:36:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NOE5S-00060D-IE for emacs-orgmode@gnu.org; Fri, 25 Dec 2009 12:36:31 -0500 Received: from [199.232.76.173] (port=43859 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOE5S-000606-ET for emacs-orgmode@gnu.org; Fri, 25 Dec 2009 12:36:26 -0500 Received: from outbound-mail-107.bluehost.com ([69.89.22.7]:51721) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NOE5R-0005Jm-To for emacs-orgmode@gnu.org; Fri, 25 Dec 2009 12:36:26 -0500 Received: from cpe-24-161-159-72.hawaii.res.rr.com ([24.161.159.72] helo=[192.168.1.3]) by box472.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1NOE5P-0000OB-6c for emacs-orgmode@gnu.org; Fri, 25 Dec 2009 10:36:24 -0700 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode emacs-orgmode --===============0625628743== Content-Type: multipart/alternative; boundary=Apple-Mail-2--12460069 --Apple-Mail-2--12460069 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Aloha all, Is it possible to use radio tables and lists inside an org buffer? I'm writing and tangling LaTeX with Org-babel and it would be useful to leverage the LaTeX export capabilities of Org-mode, especially with tabular material, which is tedious to format by hand in LaTeX. Here's what it would look like in the Org-mode buffer: > * Sales figures table > #+source: salefigures > #+begin_src latex > % BEGIN RECEIVE ORGTBL salesfigures > % END RECEIVE ORGTBL salesfigures > #+end_src > > #+ORGTBL: SEND salesfigures orgtbl-to-latex > | Month | Days | Nr sold | per day | > |-------+------+---------+---------| > | Jan | 23 | 55 | 2.4 | > | Feb | 21 | 16 | 0.8 | > | March | 22 | 278 | 12.6 | > #+TBLFM: $4=$3/$2;%.1f > % $ (optional extra dollar to keep font-lock happy, see footnote) All the best, Tom Thomas S. Dye, Ph.D. T. S. Dye & Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com --Apple-Mail-2--12460069 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Aloha = all,

Is it possible to use radio tables and lists = inside an org buffer?

I'm writing and tangling = LaTeX with Org-babel and it would be useful to leverage the LaTeX export = capabilities of Org-mode, especially with tabular material, which is = tedious to format by hand in LaTeX.

Here's what = it would look like in the Org-mode = buffer:

* Sales figures = table
#+source: salefigures
#+begin_src = latex
% BEGIN RECEIVE ORGTBL = salesfigures
% END RECEIVE ORGTBL = salesfigures 
#+end_src

     = #+ORGTBL: SEND salesfigures orgtbl-to-latex
     | Month = | Days | Nr sold | per day |
     = |-------+------+---------+---------|
     | Jan =   |   23 |      55 |     2.4 = |
     | Feb   |   21 |   =    16 |     0.8 |
     | March = |   22 |     278 |    12.6 = |
     #+TBLFM: = $4=3D$3/$2;%.1f
     % $ (optional extra dollar to keep = font-lock happy, see = footnote)
 
All the = best,
Tom

Thomas S. Dye, Ph.D.

T. S. Dye & Colleagues, = Archaeologists, Inc.

Phone: (808) 529-0866 Fax: (808) 529-0884

=

= --Apple-Mail-2--12460069-- --===============0625628743== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0625628743==--