Hi all

I use org tables to estimate construction projects.  I frequently use
simple math within a table cell to help me remember what I was
thinking when I entered the data.

It seems that the new exporter does not align plain text exports in
some of these situations.  I only use plain text and html exports;
html is working perfectly.

example tables and the results I see.

* table I - good
|         |         |    |       |
|---------+---------+----+-------|
| apples  |       3 |  8 |  24.0 |
| oranges | 1.2+2.8 |  9 |  36.0 |
| plums   |       5 | 10 |  50.0 |
|---------+---------+----+-------|
|         |         |    | 110.0 |
#+TBLFM: $4=$2*$3;%.1f::@5$4=vsum(@-I..@-II);%.1f

table I - good
=======
                             
  -----------------------------
   apples         3   8   24.0 
   oranges  1.2+2.8   9   36.0 
   plums          5  10   50.0 
  -----------------------------
                         110.0 

* table II
|         |             |    |       |
|---------+-------------+----+-------|
| apples  |           3 |  8 |  24.0 |
| oranges | 1.1+1.2+1.7 |  9 |  36.0 |
| plums   |           5 | 10 |  50.0 |
|---------+-------------+----+-------|
|         |             |    | 110.0 |
#+TBLFM: $4=$2*$3;%.1f::@5$4=vsum(@-I..@-II);%.1f

table II
========
                                 
  ---------------------------------
   apples         3          8   24.0 
   oranges  1.1+1.2+1.7   9   36.0 
   plums          5         10   50.0 
  ---------------------------------
                             110.0 

* table III
|        |                  |     |      |
|--------+------------------+-----+------|
| apples |                3 |   8 | 24.0 |
| are    |                4 |   9 | 36.0 |
| good   | 1.87995654654654 |  10 | 18.8 |
|--------+------------------+-----+------|
|        |                  |     | 78.8 |
#+TBLFM: $4=$2*$3;%.1f::@5$4=vsum(@-I..@-II);%.1f

table III
=========
                                    
  ------------------------------------
   apples              3          8  24.0 
   are                 4          9  36.0 
   good    1.87995654654654  10  18.8 
  ------------------------------------
                                 78.8 

thanks
Tracy Helms

Reply via email to