Re: [O] getting calc-units working in table formulas

2014-12-16 Thread Eric Abrahamsen
Michael Brand writes: > Hi Eric > > On Wed, Dec 17, 2014 at 2:09 AM, Eric Abrahamsen > wrote: >> Lastly, is there a way to both use output formatting, and retain the >> unit name (if desired)? Right now I get this: >> >> | km| units | conversion | >> |---+---+| >> | 2.5km

Re: [O] getting calc-units working in table formulas

2014-12-16 Thread Michael Brand
Hi Eric On Wed, Dec 17, 2014 at 2:09 AM, Eric Abrahamsen wrote: > Lastly, is there a way to both use output formatting, and retain the > unit name (if desired)? Right now I get this: > > | km| units | conversion | > |---+---+| > | 2.5km | ft|8202.10 | > #+TBLFM: $3

Re: [O] getting calc-units working in table formulas

2014-12-16 Thread Eric Abrahamsen
Michael Brand writes: > Hi Eric > > This answers only one of your questions: > > On Tue, Dec 16, 2014 at 5:21 AM, Eric Abrahamsen > wrote: >> #+BEGIN_SRC emacs-lisp >> (defmath uconvert (expr target-units) >> (math-convert-units expr target-units)) >> #+END_SRC > > I would prefer > > #+BEG

Re: [O] getting calc-units working in table formulas

2014-12-16 Thread Michael Brand
Hi Eric This answers only one of your questions: On Tue, Dec 16, 2014 at 5:21 AM, Eric Abrahamsen wrote: > #+BEGIN_SRC emacs-lisp > (defmath uconvert (expr target-units) > (math-convert-units expr target-units)) > #+END_SRC I would prefer #+BEGIN_SRC emacs-lisp (defmath uconv (expr tar

Re: [O] getting calc-units working in table formulas

2014-12-15 Thread Eric Abrahamsen
Eric Abrahamsen writes: > I've been playing with calc-units, and it's pretty amazing. See all the > units with `calc-view-units-table'. > > Some calc-units stuff works out the box (maybe have to require > calc-units?), I think this should be mentioned in the manual: > > | distance | time | spee