On Mon, Sep 27, 2010 at 2:03 AM, Matt Lundin <mdl@imapmail.org> wrote:
Rainer M Krug <r.m.krug@gmail.com> writes:

> Hi
>
> I hava a problem with exporting to LaTeX.
>
> I want to export a table to latex. I put it into a subtree, containing
> only the table, i.e. no headers, as I want to include it into another
> document. I thought, that using the :OPTIONS: property, I can disable
> the headers - but it does not seem to be working - am I missing
> something?

I believe the relevant property is :EXPORT_OPTIONS:.

,----[ (info "(org) Export options") ]
|    When exporting only a single subtree by selecting it with `C-c @'
| before calling an export command, the subtree can overrule some of the
| file's export settings with properties `EXPORT_FILE_NAME',
| `EXPORT_TITLE', `EXPORT_TEXT', `EXPORT_AUTHOR', `EXPORT_DATE', and
| `EXPORT_OPTIONS'.
`----

> ###################################
> * Table of Parameter
>
> The parameters are as follow:
> ** The Table
> :PROPERTIES:
> :EXPORT_FILE_NAME: table
> :OPTIONS: H:0 num:f toc:f author:f timestamp:f creator:f
> :END:
> | A | B |  C |
> |---+---+----|
> | 1 | 2 | 33 |
> |   |   |    |
> ###################################
>

Is it correct that you are trying to disable author, table-of-contents,
etc.? If so, I believe these can be turned off with the nil option:

--8<---------------cut here---------------start------------->8---
* Table of Parameter

The parameters are as follow:
** The Table
:PROPERTIES:
:EXPORT_FILE_NAME: table
:EXPORT_OPTIONS: H:0 num:nil toc:nil author:nil timestamp:nil creator:nil
:END:
| A | B |  C |
|---+---+----|
| 1 | 2 | 33 |
|   |   |    |
--8<---------------cut here---------------end--------------->8----

Have you considered radio tables? It's a nice solution for including an
org-mode table in a LaTeX document.

Yes - I looked into them, but I don't get them to work. Do you have an org file with a radio table so that I can see it?

Actually, I don't think they would do what I want:  want to save the table as LaTeX to a file and use it in a different program (LyX), so that I can update the table while I am working on my simulation, and that when I open LyX, I always have the up-to-date version for the paper I am writing.

Cheers,

Rainer 

Best,
Matt



--
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          Rainer@krugs.de

Skype:          RMkrug
Google:         R.M.Krug@gmail.com