From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: using a simple numerical variable in an org text ocument Date: Thu, 25 Jul 2013 17:36:53 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2TDU-00075w-Ko for emacs-orgmode@gnu.org; Thu, 25 Jul 2013 17:36:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2TDT-0008M2-Jp for emacs-orgmode@gnu.org; Thu, 25 Jul 2013 17:36:56 -0400 Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:40031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2TDT-0008Ia-Dn for emacs-orgmode@gnu.org; Thu, 25 Jul 2013 17:36:55 -0400 Received: by mail-ea0-f182.google.com with SMTP id o10so1198032eaj.41 for ; Thu, 25 Jul 2013 14:36:54 -0700 (PDT) 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: Org Mode Hi, I'm making a very simple org-document -- a packing list for a trip. It has entries like - 4 mugs - for sleeping bags - 4 thermarest pads I'd like to replace the numbers there by a variable -- so if I make a list for 4 people, the number displayed will be '4'; but if the list is for 2 people, the number displayed will be 2. Better would be if I could also do simple arithmetic manipulations (x * 6 dinners for a week...). I there a really simple way to do this? if it's not really easy, it won't really seem worth it, but if it is really easy, I will use it a lot... Thanks guys! Matt