From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: radio tables in an org buffer Date: Sat, 26 Dec 2009 06:31:07 -1000 Message-ID: <68A85884-D585-4E00-84C9-4A392B53682D@tsdye.com> References: <6B1460FD-6658-4B83-998C-D79FA47C6A9E@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NOZY2-0000Kh-03 for emacs-orgmode@gnu.org; Sat, 26 Dec 2009 11:31:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NOZXw-0000DT-WE for emacs-orgmode@gnu.org; Sat, 26 Dec 2009 11:31:21 -0500 Received: from [199.232.76.173] (port=45811 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOZXw-0000DF-SS for emacs-orgmode@gnu.org; Sat, 26 Dec 2009 11:31:16 -0500 Received: from outbound-mail-305.bluehost.com ([67.222.53.251]:37065) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NOZXw-0003b7-FK for emacs-orgmode@gnu.org; Sat, 26 Dec 2009 11:31:16 -0500 In-Reply-To: <6B1460FD-6658-4B83-998C-D79FA47C6A9E@gmail.com> 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: Carsten Dominik Cc: org-mode emacs-orgmode Hi Carsten, On Dec 26, 2009, at 12:43 AM, Carsten Dominik wrote: > > On Dec 25, 2009, at 6:36 PM, Thomas S. Dye wrote: > >> 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, > > This looks as if it should work! > > - Carsten And so it does! The magic key, which most (all?) on the list probably understand already, is to call the function orgtbl-crtl-c-ctrl-c directly when the point is in the table. All the best, Tom