emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] radio tables in an org buffer


From: Thomas S. Dye
Subject: Re: [Orgmode] radio tables in an org buffer
Date: Sat, 26 Dec 2009 06:31:07 -1000

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




reply via email to

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