From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table Date: Tue, 30 Aug 2011 14:55:47 -0600 Message-ID: <878vqa62lo.fsf@gmail.com> References: <20110829080003.GA12790@discus> <87hb50li4b.fsf@gmail.com> <878vqclf64.fsf@gmail.com> <87mxesjs9e.fsf@gmail.com> <87fwkkjhvt.fsf@gmail.com> <87y5yc6tx4.fsf@gmail.com> <87vctgi0ve.fsf@gmail.com> <87hb506qqk.fsf@gmail.com> <878vqc6nye.fsf@gmail.com> <87ei0266dw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyVLf-0003cg-32 for emacs-orgmode@gnu.org; Tue, 30 Aug 2011 16:55:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyVLd-0000vY-MO for emacs-orgmode@gnu.org; Tue, 30 Aug 2011 16:55:55 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:43677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyVLd-0000vR-FB for emacs-orgmode@gnu.org; Tue, 30 Aug 2011 16:55:53 -0400 Received: by pzk36 with SMTP id 36so86406pzk.17 for ; Tue, 30 Aug 2011 13:55:52 -0700 (PDT) In-Reply-To: (=?utf-8?Q?=22Andr?= =?utf-8?Q?=C3=A1s?= Major"'s message of "Tue, 30 Aug 2011 20:45:44 +0000 (UTC)") 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: =?utf-8?Q?Andr=C3=A1s?= Major Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Andr=C3=A1s Major writes: > Hi Eric, > >> >> This is already possible, see "Indexable variable values" [1]. > > Just tried, without success. Using the example from my original post, > I appended "[,0]" as per the manual to use the first column only, and > when I execute the code block, org throws an error > > "Wrong type argument: listp, "0"". > > Any ideas? > Can you post an example? Here is a working example. --=-=-= Content-Type: text/x-org Content-Disposition: inline; filename=simple-indexing.org ** simple indexing #+data: list-o-numbers | 1 | 2 | 3 | | 4 | 5 | 6 | | 7 | 8 | 9 | #+begin_src sh :var column=list-o-numbers[,0] echo $column #+end_src #+results: : 1 4 7 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Best -- Eric > > Andr=C3=A1s > > > --=20 Eric Schulte http://cs.unm.edu/~eschulte/ --=-=-=--