emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [BUG] org-babel-tangle causes


From: Vladimir Alexiev
Subject: [Orgmode] Re: [BUG] org-babel-tangle causes
Date: Mon, 28 Feb 2011 00:58:02 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

I found a simple WORKAROUND. 
Kindly put this in the documentation of :colnames,
at the end of the nil value:

Please note that such "table disassembly" does not work with var indexing.
As a simple workaround, put the #+tblname AFTER the hline (not before the 
table).
For example:

  #+STARTUP:  showeverything
  #+BABEL:    :tangle yes

  | colA | colB |
  |------+------|
  #+tblname: table
  | a1   | b1   |
  | a2   | b2   |

  #+begin_src perl :var a=table[*,0] :var b=table[*,1]
  $a; $b;
  #+end_src 

If you tangle this source with C-c C-x t, you can see 
that the assignments are correct.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]