On 10/31/11 9:49 PM, Nicolas Goaziou wrote:
#+begin_src org
#+property: :var foo=1
#+property: :var bar=2
#+property: :var baz=3
#+property: :var qux=4
#+end_src
Two problems:
1) You need to drop the colons before var.
2) The outcome is not what you expect.
----
#+property: var foo=1
#+property: var bar=2
#+property: var baz=3
#+property: var qux=4
#+begin_src perl :results output
print "foo is $foo, bar is $bar, baz is $baz, qux is $qux"
#+end_src
#+results:
: foo is 1, bar is , baz is , qux is
----
Because as things currently work, further assignments to the same
property (var) by subsequent #+PROPERTY lines are ignored. (Whereas
further assignments to the same property in property drawers further
down an outline tree will `overwrite' assignments higher up.)
Yours,
Christian