emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: org-mode emacs-orgmode <emacs-orgmode@gnu.org>
Subject: radio tables in an org buffer
Date: Fri, 25 Dec 2009 07:36:21 -1000	[thread overview]
Message-ID: <E421A07D-B1AD-4EF4-B2F2-55F4E6EAC745@tsdye.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1025 bytes --]

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



[-- Attachment #1.2: Type: text/html, Size: 4297 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

             reply	other threads:[~2009-12-25 17:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-25 17:36 Thomas S. Dye [this message]
2009-12-26 10:43 ` radio tables in an org buffer Carsten Dominik
2009-12-26 16:31   ` Thomas S. Dye

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=E421A07D-B1AD-4EF4-B2F2-55F4E6EAC745@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    /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).