From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Niessen Subject: Re: How to get sum from remote table + how to put in bold? Date: Mon, 07 Dec 2015 21:19:00 +0100 Message-ID: <864mfunhaj.fsf@example.com> References: <86si3fvf14.fsf@example.com> <871tayxfv2.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, Eric S Fraga writes: > On Sunday, 6 Dec 2015 at 15:16, Fabrice Niessen wrote: >> >> I'm trying to build a template for invoices written in >> Org... exporting to PDF (and HTML). Will be officially public as soon >> as it's DONE. >> >> Though, I have 2 problems currently: >> >> - I'd like to sum up, in table `total', the sub-total column of table >> `items'. But the `remote' call does not seem to accept the `vsum' >> expression. Is this a foreseen limitation? Is there a workaround to >> this? >> >> - I'd like to get the computed amount (last line of `total' table) in >> bold (and, if possible, even in a bigger font). How is that doable? > > I've fixed your ECM: > > 1. moved attr_latex and other latex stuff to before the names of the > tables and > 2. inverted the order of vsum and remote so that you do a vsum over what > the remote function returns. > > Seems to work. I confirm that you *did* fix my first problem. Simple, neat, and smart. Thanks a lot! Any idea how to solve my problem #2: get the computed amount in bold and/or in another color and/or in bigger font? Best regards, Fabrice -- Fabrice Niessen Leuven, Belgium http://www.pirilampo.org/