From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: evaluate TBLFM Date: Tue, 21 Jul 2015 08:28:25 -0500 Message-ID: References: <5579E556.8090104@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHXat-0000Gn-Fa for emacs-orgmode@gnu.org; Tue, 21 Jul 2015 09:28:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHXas-0005il-15 for emacs-orgmode@gnu.org; Tue, 21 Jul 2015 09:28:27 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:34653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHXar-0005iP-R2 for emacs-orgmode@gnu.org; Tue, 21 Jul 2015 09:28:25 -0400 Received: by wibud3 with SMTP id ud3so114284830wib.1 for ; Tue, 21 Jul 2015 06:28:25 -0700 (PDT) In-Reply-To: <5579E556.8090104@verizon.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Charles Millar Cc: "emacs-orgmode@gnu.org" On Thu, Jun 11, 2015 at 2:45 PM, Charles Millar 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.