emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* using a simple numerical variable in an org text ocument
@ 2013-07-25 21:36 Matt Price
  2013-07-25 21:55 ` Thorsten Jolitz
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Matt Price @ 2013-07-25 21:36 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-14  5:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-25 21:36 using a simple numerical variable in an org text ocument Matt Price
2013-07-25 21:55 ` Thorsten Jolitz
2013-07-25 23:39 ` Thorsten Jolitz
2013-07-26  1:16   ` Jonathan Leech-Pepin
2013-07-26  7:43 ` Sebastien Vauban
2013-07-27 18:19   ` Dieter Wilhelm
2013-08-14  5:54     ` Sebastien Vauban

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).