[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Issue with #+TBLFM in dynamic block
From: |
flav |
Subject: |
[O] Issue with #+TBLFM in dynamic block |
Date: |
Thu, 27 Sep 2012 14:29:03 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Slt,
I try to add formulas to a table in a dynamic block (obtained by columns
capture), but when I update the dynamic block, the #+TBLFM line disappears and
the added columns also disappear.
The file :
#+COLUMNS: %ITEM %Note
Soutenance finale promo 2013
* Note
#+BEGIN: columnview :hlines 1 :id global :maxlevel 2 :skip-empty-rows t
| ITEM | Note | A | B | C | D | F |
|----------+------+---+---+---+---+---|
| ** scube | C | 0 | 0 | 1 | 0 | 0 |
| ** ids | D | 0 | 0 | 0 | 1 | 0 |
#+TBLFM: $3='(if (equal "A" $2) 1 0)::$4='(if (equal "B" $2) 1 0)::$5='(if
(equal "C" $2) 1 0)::$6='(if (equal "D" $2\
) 1 0)::$7='(if (equal "F" $2) 1 0)
#+END:
** scube
:PROPERTIES:
:Note: C
:END:
[...]
** ids
:PROPERTIES:
:Note: D
:END:
[...]
After the C-c C-c
#+BEGIN: columnview :hlines 1 :id global :maxlevel 2 :skip-empty-rows t
| ITEM | Note |
|----------+------|
| ** scube | C |
| ** ids | D |
#+END:
M-x org-version
Org-mode version 7.9.1 (7.9.1-dist @ /usr/share/emacs/site-lisp/org/)
Do you have an idea ?
Thanks
--
flav
- [O] Issue with #+TBLFM in dynamic block,
flav <=