From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: #+CALL get the first row of output table lost when using latex export Date: Sun, 16 Nov 2014 18:37:53 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xq4iD-00068J-1E for emacs-orgmode@gnu.org; Sun, 16 Nov 2014 13:38:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xq4i5-0006iy-I7 for emacs-orgmode@gnu.org; Sun, 16 Nov 2014 13:38:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:60227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xq4i5-0006is-C5 for emacs-orgmode@gnu.org; Sun, 16 Nov 2014 13:38:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xq4i4-0000IX-R1 for emacs-orgmode@gnu.org; Sun, 16 Nov 2014 19:38:04 +0100 Received: from 172-7-166-26.lightspeed.sndgca.sbcglobal.net ([172.7.166.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Nov 2014 19:38:04 +0100 Received: from ccberry by 172-7-166-26.lightspeed.sndgca.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Nov 2014 19:38:04 +0100 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: emacs-orgmode@gnu.org gmail.com> writes: > > Hi, > > I encounter a problem when I use #+CALL to create a table with latex > export. The problem is that the first row of the table is missing, if > the table is created with #+CALL. > [deleted - setup info] > The minimal table example is > > #+BEGIN_EXAMPLE > #+NAME: t1 > #+BEGIN_SRC python :exports results > return [['A'],None,[2]] > #+END_SRC > > #+CAPTION: T1 > #+RESULTS: t1 > > #+NAME: t2 > #+CALL: t1() :exports results > > #+CAPTION: T2 > #+RESULTS: t2 > #+END_EXAMPLE > This is not a latex issue per se. If you evaluate t2 with `org-babel-execute-maybe' the same thing will happen. org-babel-execute:python does its own formatting. #+CALL: OTOH passes the results to babel. The workaround is to use #+CALL: t1() :colnames yes HTH, Chuck