[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-cook
From: |
Erik Hetzner |
Subject: |
Re: [O] org-cook |
Date: |
Mon, 17 Mar 2014 07:52:45 -0700 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
At Mon, 17 Mar 2014 10:34:55 -0400,
Ken Mankoff wrote:
>
> Hi,
>
> This isn't directly related to Org, but I'll mention it anyway since
> people are discussing quantities and "scale" for their
> recipes. Various programming languages have "physical units" packages
> that can make working with units quite fun. I use the python
> "Quantities" package
> http://pythonhosted.org/quantities/user/tutorial.html . It lets you
> define custom quantities such as how many grams of butter are in a
> stick, etc. A wrapper to this would let you convert Org recipe
> shopping lists from units of "g" and "teaspoon" to units of "sticks"
> and "fluid oz".
Hi Ken,
emacs calc also handles units. For org-cook [1] I extended the
definitions as follows (calc already has definitions for fluid oz):
(setq math-additional-units
'((pinch "tsp / 8" "Pinch")
(drop "tsp / 76" "Drop")
(dash "drop * 6" "Dash")
(jigger "floz * 1.5" "Jigger")
(gill "floz * 4" "Gill")))
best, Erik
1. https://gitorious.org/org-cook/org-cook/
--
Sent from my free software system <http://fsf.org/>.
- [O] org-cook, Xebar Saram, 2014/03/15
- Re: [O] org-cook, Erik Hetzner, 2014/03/15
- Re: [O] org-cook, Xebar Saram, 2014/03/15
- Re: [O] org-cook, Erik Hetzner, 2014/03/15
- Re: [O] org-cook, Robert Horn, 2014/03/15
- Re: [O] org-cook, Fletcher Charest, 2014/03/17
- Re: [O] org-cook, Xebar Saram, 2014/03/17
- Re: [O] org-cook, Fletcher Charest, 2014/03/17
- Re: [O] org-cook, Ken Mankoff, 2014/03/17
- Re: [O] org-cook,
Erik Hetzner <=
- Re: [O] org-cook, Alan Tyree, 2014/03/15