From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Minshall Subject: Re: selecting columns to export Date: Wed, 01 May 2013 21:07:43 -0400 Message-ID: <21441.1367456863@greg-minshalls-mbp.local> Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXi0C-00068T-Ca for emacs-orgmode@gnu.org; Wed, 01 May 2013 21:08:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXi08-00087Q-LV for emacs-orgmode@gnu.org; Wed, 01 May 2013 21:08:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:54575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXi08-00087F-Ez for emacs-orgmode@gnu.org; Wed, 01 May 2013 21:08:00 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UXi03-0007F6-7Y for emacs-orgmode@gnu.org; Thu, 02 May 2013 03:07:55 +0200 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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Sebastien, > Put a partial echo code block (one where you select in the var header > argument which columns interest you), and output the results of that > code block? thanks! below is the final result of your suggestion. (my table was long, so i had to use longtable; i also used a "landscape" documentclass variant in order to hold more columns for printing.) cheers, Greg ---- #+LATEX_CLASS_OPTIONS: [letter, landscape] ** the main table :noexport: #+name: full-table :exports none | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | |----------------------+------------------------------------------------+-------+--------+-------+--------+-------+--------+-------+--------+-------+--------+-------+--------+-------+--------+-------+-------+-------+--------+------+-------+------+------+------+-----| |----------------------+------------------------------------------------+-------+--------+-------+--------+-------+--------+-------+--------+-------+--------+-------+--------+-------+--------+-------+-------+-------+--------+------+-------+------+------+------+-----|... ** the partial table, suitable for printing # uncommented, the following produces a table! (search for src_ in the manual) # src_emacs-lisp[:var tbl=full-table[,0:5]]{tbl} #+name: fubar #+begin_src emacs-lisp :var x=full-table[,0:5] :results silent :exports none x #+end_src #+call: fubar() # named results, and the importance of w.r.t. attr_latex, courtesy of # http://lists.gnu.org/archive/html/emacs-orgmode/2012-08/msg00864.html # http://lists.gnu.org/archive/html/emacs-orgmode/2012-08/msg00868.html #+ATTR_LATEX: :environment longtable :align l|l|r|r|r|r #+RESULTS: fubar()