From: Grant Rettke <gcr@wisdomandwonder.com>
To: Charles Millar <millarc@verizon.net>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: evaluate TBLFM
Date: Tue, 21 Jul 2015 08:28:25 -0500 [thread overview]
Message-ID: <CAAjq1md=NySAep6A7CoGO1o7YyXTT+-AosKoFENeKeZex=Us3A@mail.gmail.com> (raw)
In-Reply-To: <5579E556.8090104@verizon.net>
On Thu, Jun 11, 2015 at 2:45 PM, Charles Millar <millarc@verizon.net> wrote:
> I am learning how to use org-babel and want to export (LaTeX) a table with
> the final column added at final row, which should be inserted. The entire
> process would take place upon exporting to LaTeX/pdf
>
> Desired result (roughly speaking)
>
> | date | Description | Amount |
> |--------|----------------|---------------|
> | 6-7 | blah | 1.00 |
> | 6-8 | blah blah | 2.00 |
> | | | 3.00 | (this row to be inserted
> and then column 3 added) (Also nice if a hline were inserted before the last
> row)
>
> The table is generated from a recutils data base and essentially this is the
> set up
>
>
> #+Name: ATable
> #+begin_src rec data: Foo.rec :type Bar :fields date,Description,Amount
> #+end_src
>
> #+TBLNAME: ATable
> #+TBLFM: @>$>=vsum(@I$>..@>>$>);%.2f
>
> I have read Using Code Blocks in Org Tables in the Worg Babel Introduction
> and searched the lists and am not sure of how to implement this.
I'm not sure what you are trying to perform with this code. That
probably says more about me than you.
Are you loading the contents of a recfile into an Org-Mode table and
them performing a manipulation on that table? Is that what you want to
do? You said that you are not sure how to implement this and I am not
sure what precisely you want to implement.
next prev parent reply other threads:[~2015-07-21 13:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-11 19:45 evaluate TBLFM Charles Millar
2015-07-21 13:28 ` Grant Rettke [this message]
2015-07-26 14:01 ` Charles Millar
2015-07-30 19:41 ` Charles Millar
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAjq1md=NySAep6A7CoGO1o7YyXTT+-AosKoFENeKeZex=Us3A@mail.gmail.com' \
--to=gcr@wisdomandwonder.com \
--cc=emacs-orgmode@gnu.org \
--cc=millarc@verizon.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.