emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fabrice Niessen <news-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: How to get sum from remote table + how to put in bold?
Date: Mon, 07 Dec 2015 21:19:00 +0100	[thread overview]
Message-ID: <864mfunhaj.fsf@example.com> (raw)
In-Reply-To: 871tayxfv2.fsf@ucl.ac.uk

Hello,

Eric S Fraga <e.fraga-hclig2XLE9Zaa/9Udqfwiw@public.gmane.org> 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/

  reply	other threads:[~2015-12-07 20:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-06 14:16 How to get sum from remote table + how to put in bold? Fabrice Niessen
2015-12-07 18:39 ` Eric S Fraga
2015-12-07 20:19   ` Fabrice Niessen [this message]
2015-12-07 21:37     ` Rasmus

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=864mfunhaj.fsf@example.com \
    --to=news-ta4hmop+1whrz44/dzwexq@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).