From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Millar Subject: Re: Evaluate TBLFM in babel export to LaTeX (reposted) Date: Fri, 12 Jun 2015 08:00:50 -0400 Message-ID: <557AC9F2.1090508@verizon.net> References: <5579F98D.7040606@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Ne9-0005Rq-LG for emacs-orgmode@gnu.org; Fri, 12 Jun 2015 08:01:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3Ne4-0005dh-NI for emacs-orgmode@gnu.org; Fri, 12 Jun 2015 08:01:17 -0400 Received: from vms173019pub.verizon.net ([206.46.173.19]:42663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Ne4-0005db-If for emacs-orgmode@gnu.org; Fri, 12 Jun 2015 08:01:12 -0400 Received: from [192.168.1.128] ([70.209.133.234]) by vms173019.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NPT00IT8YPJKWA0@vms173019.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 12 Jun 2015 07:00:57 -0500 (CDT) In-reply-to: <5579F98D.7040606@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: emacs-orgmode@gnu.org I just realized that I misread org-sbe as org-she (as in shebang); so of course my search for org-she yielded no results; now on to org-sbe Charluie Millar On 06/11/2015 05:11 PM, Charles Millar wrote: > Posted this request for assistance with an incomplete subject line > > Hi, > > 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. > > At the moment I am more interested in solving the column sum problem; > i can kludge an added row using a dummy record in the database. > > Charlie Millar > > >