[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] selecting columns to export
From: |
Greg Minshall |
Subject: |
Re: [O] selecting columns to export |
Date: |
Wed, 01 May 2013 21:07:43 -0400 |
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 |
|----------------------+------------------------------------------------+-------+--------+-------+--------+-------+--------+-------+--------+-------+--------+-------+--------+-------+--------+-------+-------+-------+--------+------+-------+------+------+------+-----|
<your data here>
|----------------------+------------------------------------------------+-------+--------+-------+--------+-------+--------+-------+--------+-------+--------+-------+--------+-------+--------+-------+-------+-------+--------+------+-------+------+------+------+-----|...
** 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()