From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: [babel] How to set multiple variables with properties Date: Tue, 21 Jun 2011 15:42:03 -0300 Message-ID: <4e00e5ff.634dec0a.10c2.462f@mx.google.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ5tt-0000PI-7P for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 14:42:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ5tr-0000Zd-Nf for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 14:42:13 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:54118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ5tr-0000ZZ-Ee for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 14:42:11 -0400 Received: by gxk23 with SMTP id 23so30087gxk.0 for ; Tue, 21 Jun 2011 11:42:09 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Orgmode Mailing List I'm using org-babel to automate a few tasks and I'd like to define a few variables that are common to several code blocks as sub-tree properties. It works when I have only one variable, where I can use --8<---------------cut here---------------start------------->8--- * Heading :PROPERTY: :var: variable1="value1" :END: #+begin_src python :results output print variable1 #+end_src #+results: : value1 --8<---------------cut here---------------end--------------->8--- Is it possible to set multiples variables in this way? I tried things like --8<---------------cut here---------------start------------->8--- :PROPERTY: :var: variable1="value1" variable2="value2" :END: :PROPERTY: :var: variable1="value1",variable2="value2" :END: :PROPERTY: :variable1: "value1" :variable2: "value2" :END: --8<---------------cut here---------------end--------------->8--- but none of them worked. -- Darlan Cavalcante